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
+17
View File
@@ -0,0 +1,17 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# support
Commands for troubleshooting issues with a Coder deployment.
## Usage
```console
coder support
```
## Subcommands
| Name | Purpose |
| ------------------------------------------ | --------------------------------------------------------------------------- |
| [<code>bundle</code>](./support_bundle.md) | Generate a support bundle to troubleshoot issues connecting to a workspace. |
+45
View File
@@ -0,0 +1,45 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# support bundle
Generate a support bundle to troubleshoot issues connecting to a workspace.
## Usage
```console
coder support bundle [flags] <workspace> [<agent>]
```
## Description
```console
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
### -y, --yes
| | |
| ---- | ----------------- |
| Type | <code>bool</code> |
Bypass prompts.
### -O, --output-file
| | |
| ----------- | ---------------------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_SUPPORT_BUNDLE_OUTPUT_FILE</code> |
File path for writing the generated support bundle. Defaults to coder-support-$(date +%s).zip.
### --url-override
| | |
| ----------- | ----------------------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_SUPPORT_BUNDLE_URL_OVERRIDE</code> |
Override the URL to your Coder deployment. This may be useful, for example, if you need to troubleshoot a specific Coder replica.