Skip to content

feat: add provisioner key cli commands #13875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make golden
  • Loading branch information
f0ssel committed Jul 16, 2024
commit adffefdacb4f8bdf21df497fdee4858f553b517c
3 changes: 3 additions & 0 deletions enterprise/cli/testdata/coder_provisionerd_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ USAGE:

Manage provisioner daemons

Aliases: provisioner

SUBCOMMANDS:
keys Manage provisioner keys
start Run a provisioner daemon

———
Expand Down
16 changes: 16 additions & 0 deletions enterprise/cli/testdata/coder_provisionerd_keys_--help.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
coder v0.0.0-devel

USAGE:
coder provisionerd keys

Manage provisioner keys

Aliases: key

SUBCOMMANDS:
create Create a new provisioner key
delete Delete a provisioner key
list List provisioner keys

———
Run `coder --help` for a list of global options.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
coder v0.0.0-devel

USAGE:
coder provisionerd keys create [flags] <name>

Create a new provisioner key

OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.

———
Run `coder --help` for a list of global options.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
coder v0.0.0-devel

USAGE:
coder provisionerd keys delete [flags] <name>

Delete a provisioner key

Aliases: rm

OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.

-y, --yes bool
Bypass prompts.

———
Run `coder --help` for a list of global options.
15 changes: 15 additions & 0 deletions enterprise/cli/testdata/coder_provisionerd_keys_list_--help.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
coder v0.0.0-devel

USAGE:
coder provisionerd keys list [flags]

List provisioner keys

Aliases: ls

OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.

———
Run `coder --help` for a list of global options.
Loading