Skip to content

Commit

Permalink
Update cli docs for octopus(go) (#2583)
Browse files Browse the repository at this point in the history
Co-authored-by: Bob <[email protected]>
  • Loading branch information
1 parent f8c9fe8 commit 5fc38d5
Show file tree
Hide file tree
Showing 174 changed files with 474 additions and 324 deletions.
3 changes: 3 additions & 0 deletions src/pages/docs/octopus-rest-api/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ The Octopus CLI is built and maintained by the Octopus Deploy team, but it is al
- **[octopus account gcp](/docs/octopus-rest-api/cli/octopus-account-gcp)**: Manage Google Cloud accounts.
- **[octopus account gcp create](/docs/octopus-rest-api/cli/octopus-account-gcp-create)**: Create a Google Cloud account.
- **[octopus account gcp list](/docs/octopus-rest-api/cli/octopus-account-gcp-list)**: List Google Cloud accounts.
- **[octopus account generic-oidc](/docs/octopus-rest-api/cli/octopus-account-generic-oidc)**: Manage Generic OpenID Connect accounts.
- **[octopus account generic-oidc create](/docs/octopus-rest-api/cli/octopus-account-generic-oidc-create)**: Create an Generic OpenID Connect account.
- **[octopus account generic-oidc list](/docs/octopus-rest-api/cli/octopus-account-generic-oidc-list)**: List Generic OpenID Connect accounts.
- **[octopus account list](/docs/octopus-rest-api/cli/octopus-account-list)**: List accounts.
- **[octopus account ssh](/docs/octopus-rest-api/cli/octopus-account-ssh)**: Manage SSH Key Pair accounts.
- **[octopus account ssh create](/docs/octopus-rest-api/cli/octopus-account-ssh-create)**: Create a SSH Key Pair account.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account aws create
description: Create an AWS account
navOrder: 3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account aws list
description: List AWS accounts
navOrder: 4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account aws
description: Manage AWS accounts
navOrder: 2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account azure create
description: Create an Azure subscription account
navOrder: 6
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account azure list
description: List Azure subscription accounts
navOrder: 7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account azure-oidc create
description: Create an Azure OpenID Connect account
navOrder: 9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account azure-oidc list
description: List Azure OpenID Connect accounts
navOrder: 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account azure-oidc
description: Manage Azure OpenID Connect accounts
navOrder: 8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account azure
description: Manage Azure subscription accounts
navOrder: 5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account create
description: Create an account
navOrder: 11
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account delete
description: Delete an account
navOrder: 12
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account gcp create
description: Create a Google Cloud account
navOrder: 14
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account gcp list
description: List Google Cloud accounts
navOrder: 15
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account gcp
description: Manage Google Cloud accounts
navOrder: 13
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-12-05
title: octopus account generic-oidc create
description: Create an Generic OpenID Connect account
navOrder: 17
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Create an Generic OpenID Connect account in Octopus Deploy

```
Usage:
octopus account generic-oidc create [flags]
Aliases:
create, new
Flags:
-d, -- string A summary explaining the use of the account to other users.
--audience string The audience claim for the federated credentials. Defaults to api://default
-D, --description-file file Read the description from file
-e, --environment stringArray The environments that are allowed to use this account
-E, --execution-subject-keys stringArray The subject keys used for a deployment or runbook
-n, --name string A short, memorable, unique name for this account.
Global Flags:
-h, --help Show help for a command
--no-prompt Disable prompting in interactive mode
-f, --output-format string Specify the output format for a command ("json", "table", or "basic") (default "table")
-s, --space string Specify the space for operations
```

## Examples

<SamplesInstance />

```
$ octopus account generic-oidc create
```

## Learn more

- [Octopus CLI](/docs/octopus-rest-api/cli)
- [Creating API keys](/docs/octopus-rest-api/how-to-create-an-api-key)
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-12-05
title: octopus account generic-oidc list
description: List Generic OpenID Connect accounts
navOrder: 18
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

List Generic OpenID Connect accounts in Octopus Deploy

```
Usage:
octopus account generic-oidc list [flags]
Aliases:
list, ls
Global Flags:
-h, --help Show help for a command
--no-prompt Disable prompting in interactive mode
-f, --output-format string Specify the output format for a command ("json", "table", or "basic") (default "table")
-s, --space string Specify the space for operations
```

## Examples

<SamplesInstance />

```
$ octopus account generic-oidc list
```

## Learn more

- [Octopus CLI](/docs/octopus-rest-api/cli)
- [Creating API keys](/docs/octopus-rest-api/how-to-create-an-api-key)
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-12-05
title: octopus account generic-oidc
description: Manage Generic OpenID Connect accounts
navOrder: 16
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Manage Generic OpenID Connect accounts in Octopus Deploy

```
Usage:
octopus account generic-oidc [command]
Available Commands:
create Create an Generic OpenID Connect account
help Help about any command
list List Generic OpenID Connect accounts
Global Flags:
-h, --help Show help for a command
--no-prompt Disable prompting in interactive mode
-f, --output-format string Specify the output format for a command ("json", "table", or "basic") (default "table")
-s, --space string Specify the space for operations
Use "octopus account generic-oidc [command] --help" for more information about a command.
```

## Examples

<SamplesInstance />

```
$ octopus account generic-oidc list
```

## Learn more

- [Octopus CLI](/docs/octopus-rest-api/cli)
- [Creating API keys](/docs/octopus-rest-api/how-to-create-an-api-key)
4 changes: 2 additions & 2 deletions src/pages/docs/octopus-rest-api/cli/octopus-account-list.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account list
description: List accounts
navOrder: 16
navOrder: 19
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account ssh create
description: Create a SSH Key Pair account
navOrder: 18
navOrder: 21
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account ssh list
description: List SSH Key Pair accounts
navOrder: 19
navOrder: 22
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
4 changes: 2 additions & 2 deletions src/pages/docs/octopus-rest-api/cli/octopus-account-ssh.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account ssh
description: Manage SSH Key Pair accounts
navOrder: 17
navOrder: 20
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account token create
description: Create a Token account
navOrder: 21
navOrder: 24
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account token list
description: List Token accounts
navOrder: 22
navOrder: 25
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
4 changes: 2 additions & 2 deletions src/pages/docs/octopus-rest-api/cli/octopus-account-token.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account token
description: Manage Token accounts
navOrder: 20
navOrder: 23
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account username create
description: Create a Username/Password account
navOrder: 24
navOrder: 27
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2024-11-20
modDate: 2024-12-05
title: octopus account username list
description: List Username/Password accounts
navOrder: 25
navOrder: 28
---
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';

Expand Down
Loading

0 comments on commit 5fc38d5

Please sign in to comment.