feat(cli): unhide support bundle cmd (#12745)

* chore(cli): add another test to ensure no secret leakage

* feat(cli): unhide support bundle cmd
This commit is contained in:
Cian Johnston
2024-03-25 15:14:27 +00:00
committed by GitHub
parent 2332d8197a
commit 01f9a9ab77
9 changed files with 134 additions and 6 deletions
+2
View File
@@ -46,6 +46,8 @@ SUBCOMMANDS:
stat Show resource usage for the current workspace.
state Manually manage Terraform state to fix broken workspaces
stop Stop a workspace
support Commands for troubleshooting issues with a Coder
deployment.
templates Manage templates
tokens Manage personal access tokens
unfavorite Remove a workspace from your favorites
+13
View File
@@ -0,0 +1,13 @@
coder v0.0.0-devel
USAGE:
coder support
Commands for troubleshooting issues with a Coder deployment.
SUBCOMMANDS:
bundle Generate a support bundle to troubleshoot issues connecting to a
workspace.
———
Run `coder --help` for a list of global options.
+25
View File
@@ -0,0 +1,25 @@
coder v0.0.0-devel
USAGE:
coder support bundle [flags] <workspace> [<agent>]
Generate a support bundle to troubleshoot issues connecting to a workspace.
This command generates a file containing detailed troubleshooting information
about the Coder deployment and workspace connections. You must specify a
single workspace (and optionally an agent name).
OPTIONS:
-O, --output-file string, $CODER_SUPPORT_BUNDLE_OUTPUT_FILE
File path for writing the generated support bundle. Defaults to
coder-support-$(date +%s).zip.
--url-override string, $CODER_SUPPORT_BUNDLE_URL_OVERRIDE
Override the URL to your Coder deployment. This may be useful, for
example, if you need to troubleshoot a specific Coder replica.
-y, --yes bool
Bypass prompts.
———
Run `coder --help` for a list of global options.