-
Notifications
You must be signed in to change notification settings - Fork 943
docs: Add CLI docs #5879
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
docs: Add CLI docs #5879
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
8862b9d
docs: Add CLI docs
BrunoQuaresma 6504518
Fix command
BrunoQuaresma 6b5f959
Format files
BrunoQuaresma 343dfbd
Update CLI title on docs
BrunoQuaresma 891454a
Fix ANSI
BrunoQuaresma df263d4
Fix format
BrunoQuaresma 7608821
Update icon
BrunoQuaresma 0618d2f
Apply PR suggestions
BrunoQuaresma d1f6b36
Fix makefile
BrunoQuaresma 4a0d4cb
Merge branch 'main' of github.com:coder/coder into bq/add-cli-docs
BrunoQuaresma fa86719
Fix default values
BrunoQuaresma df26b83
Remove coder version from the docs
BrunoQuaresma c93bcb8
Fix variable values
BrunoQuaresma 38163c9
Merge branch 'main' of github.com:coder/coder into bq/add-cli-docs
BrunoQuaresma 9ac5887
Add nowait
BrunoQuaresma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix ANSI
- Loading branch information
commit 891454a5cd5bb1e435a13c9f3dc930f2be7e240a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,75 @@ | ||
## coder | ||
|
||
|
||
|
||
### Synopsis | ||
|
||
Coder v0.0.0-devel — A tool for provisioning self-hosted development environments with Terraform. | ||
|
||
|
||
``` | ||
coder [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
- Start a Coder server: | ||
- Start a Coder server: | ||
|
||
[48;2;235;229;236m [0m[38;2;255;70;113;48;2;235;229;236m$ coder server[0m[48;2;235;229;236m [0m | ||
$ coder server | ||
|
||
- Get started by creating a template from an example: | ||
- Get started by creating a template from an example: | ||
|
||
[48;2;235;229;236m [0m[38;2;255;70;113;48;2;235;229;236m$ coder templates init[0m[48;2;235;229;236m [0m | ||
$ coder templates init | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--global-config coder Path to the global coder config directory. | ||
[38;2;88;88;88mConsumes $CODER_CONFIG_DIR[0m (default "/home/coder/.config/coderv2") | ||
Consumes $CODER_CONFIG_DIR (default "/home/coder/.config/coderv2") | ||
--header stringArray HTTP headers added to all requests. Provide as "Key=Value". | ||
[38;2;88;88;88mConsumes $CODER_HEADER[0m | ||
Consumes $CODER_HEADER | ||
-h, --help help for coder | ||
--no-feature-warning Suppress warnings about unlicensed features. | ||
[38;2;88;88;88mConsumes $CODER_NO_FEATURE_WARNING[0m | ||
Consumes $CODER_NO_FEATURE_WARNING | ||
--no-version-warning Suppress warning when client and server versions do not match. | ||
[38;2;88;88;88mConsumes $CODER_NO_VERSION_WARNING[0m | ||
Consumes $CODER_NO_VERSION_WARNING | ||
--token string Specify an authentication token. For security reasons setting CODER_SESSION_TOKEN is preferred. | ||
[38;2;88;88;88mConsumes $CODER_SESSION_TOKEN[0m | ||
Consumes $CODER_SESSION_TOKEN | ||
--url string URL to a deployment. | ||
[38;2;88;88;88mConsumes $CODER_URL[0m | ||
Consumes $CODER_URL | ||
-v, --verbose Enable verbose output. | ||
[38;2;88;88;88mConsumes $CODER_VERBOSE[0m | ||
Consumes $CODER_VERBOSE | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
- [coder config-ssh](coder_config-ssh.md) - Add an SSH Host entry for your workspaces "ssh coder.workspace" | ||
- [coder create](coder_create.md) - Create a workspace | ||
- [coder delete](coder_delete.md) - Delete a workspace | ||
- [coder dotfiles](coder_dotfiles.md) - Checkout and install a dotfiles repository from a Git URL | ||
- [coder list](coder_list.md) - List workspaces | ||
- [coder login](coder_login.md) - Authenticate with Coder deployment | ||
- [coder logout](coder_logout.md) - Unauthenticate your local session | ||
- [coder port-forward](coder_port-forward.md) - Forward ports from machine to a workspace | ||
- [coder publickey](coder_publickey.md) - Output your Coder public key used for Git operations | ||
- [coder rename](coder_rename.md) - Rename a workspace | ||
- [coder reset-password](coder_reset-password.md) - Directly connect to the database to reset a user's password | ||
- [coder restart](coder_restart.md) - Restart a workspace | ||
- [coder scaletest](coder_scaletest.md) - Run a scale test against the Coder API | ||
- [coder schedule](coder_schedule.md) - Schedule automated start and stop times for workspaces | ||
- [coder server](coder_server.md) - Start a Coder server | ||
- [coder show](coder_show.md) - Display details of a workspace's resources and agents | ||
- [coder speedtest](coder_speedtest.md) - Run upload and download tests from your machine to a workspace | ||
- [coder ssh](coder_ssh.md) - Start a shell into a workspace | ||
- [coder start](coder_start.md) - Start a workspace | ||
- [coder state](coder_state.md) - Manually manage Terraform state to fix broken workspaces | ||
- [coder stop](coder_stop.md) - Stop a workspace | ||
- [coder templates](coder_templates.md) - Manage templates | ||
- [coder tokens](coder_tokens.md) - Manage personal access tokens | ||
- [coder update](coder_update.md) - Update a workspace | ||
- [coder users](coder_users.md) - Manage users | ||
- [coder version](coder_version.md) - Show coder version | ||
* [coder config-ssh](coder_config-ssh.md) - Add an SSH Host entry for your workspaces "ssh coder.workspace" | ||
* [coder create](coder_create.md) - Create a workspace | ||
* [coder delete](coder_delete.md) - Delete a workspace | ||
* [coder dotfiles](coder_dotfiles.md) - Checkout and install a dotfiles repository from a Git URL | ||
* [coder list](coder_list.md) - List workspaces | ||
* [coder login](coder_login.md) - Authenticate with Coder deployment | ||
* [coder logout](coder_logout.md) - Unauthenticate your local session | ||
* [coder port-forward](coder_port-forward.md) - Forward ports from machine to a workspace | ||
* [coder publickey](coder_publickey.md) - Output your Coder public key used for Git operations | ||
* [coder rename](coder_rename.md) - Rename a workspace | ||
* [coder reset-password](coder_reset-password.md) - Directly connect to the database to reset a user's password | ||
* [coder restart](coder_restart.md) - Restart a workspace | ||
* [coder scaletest](coder_scaletest.md) - Run a scale test against the Coder API | ||
* [coder schedule](coder_schedule.md) - Schedule automated start and stop times for workspaces | ||
* [coder server](coder_server.md) - Start a Coder server | ||
* [coder show](coder_show.md) - Display details of a workspace's resources and agents | ||
* [coder speedtest](coder_speedtest.md) - Run upload and download tests from your machine to a workspace | ||
* [coder ssh](coder_ssh.md) - Start a shell into a workspace | ||
* [coder start](coder_start.md) - Start a workspace | ||
* [coder state](coder_state.md) - Manually manage Terraform state to fix broken workspaces | ||
* [coder stop](coder_stop.md) - Stop a workspace | ||
* [coder templates](coder_templates.md) - Manage templates | ||
* [coder tokens](coder_tokens.md) - Manage personal access tokens | ||
* [coder update](coder_update.md) - Update a workspace | ||
* [coder users](coder_users.md) - Manage users | ||
* [coder version](coder_version.md) - Show coder version | ||
|
||
###### Auto generated by spf13/cobra on 26-Jan-2023 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.