Skip to content

Commit a756f52

Browse files
committed
Refactor MVP
1 parent 3f75f6b commit a756f52

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+51
-2866
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ docs/admin/prometheus.md: scripts/metricsdocgen/main.go scripts/metricsdocgen/me
501501
yarn run format:write:only ../docs/admin/prometheus.md
502502

503503
docs/cli/coder.md: scripts/clidocgen/main.go $(GO_SRC_FILES) docs/manifest.json
504-
BASE_PATH="." go run scripts/clidocgen/main.go
504+
rm -rf ../docs/cli/*
505+
BASE_PATH="." go run ./scripts/clidocgen
505506
cd site
506507
yarn run format:write:only ../docs/cli/*.md ../docs/manifest.json
507508

docs/cli/coder.md

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1 @@
1-
## coder
2-
3-
### Synopsis
4-
5-
Coder — A tool for provisioning self-hosted development environments with Terraform.
6-
7-
```
8-
coder [flags]
9-
```
10-
11-
### Examples
12-
13-
```
14-
- Start a Coder server:
15-
16-
$ coder server
17-
18-
- Get started by creating a template from an example:
19-
20-
$ coder templates init
21-
```
22-
23-
### Options
24-
25-
```
26-
--global-config coder Path to the global coder config directory.
27-
Consumes $CODER_CONFIG_DIR (default "~/.config/coderv2")
28-
--header stringArray HTTP headers added to all requests. Provide as "Key=Value".
29-
Consumes $CODER_HEADER
30-
-h, --help help for coder
31-
--no-feature-warning Suppress warnings about unlicensed features.
32-
Consumes $CODER_NO_FEATURE_WARNING
33-
--no-version-warning Suppress warning when client and server versions do not match.
34-
Consumes $CODER_NO_VERSION_WARNING
35-
--token string Specify an authentication token. For security reasons setting CODER_SESSION_TOKEN is preferred.
36-
Consumes $CODER_SESSION_TOKEN
37-
--url string URL to a deployment.
38-
Consumes $CODER_URL
39-
-v, --verbose Enable verbose output.
40-
Consumes $CODER_VERBOSE
41-
```
42-
43-
### SEE ALSO
44-
45-
- [coder config-ssh](coder_config-ssh.md) - Add an SSH Host entry for your workspaces "ssh coder.workspace"
46-
- [coder create](coder_create.md) - Create a workspace
47-
- [coder delete](coder_delete.md) - Delete a workspace
48-
- [coder dotfiles](coder_dotfiles.md) - Checkout and install a dotfiles repository from a Git URL
49-
- [coder list](coder_list.md) - List workspaces
50-
- [coder login](coder_login.md) - Authenticate with Coder deployment
51-
- [coder logout](coder_logout.md) - Unauthenticate your local session
52-
- [coder ping](coder_ping.md) - Ping a workspace
53-
- [coder port-forward](coder_port-forward.md) - Forward ports from machine to a workspace
54-
- [coder publickey](coder_publickey.md) - Output your Coder public key used for Git operations
55-
- [coder rename](coder_rename.md) - Rename a workspace
56-
- [coder reset-password](coder_reset-password.md) - Directly connect to the database to reset a user's password
57-
- [coder restart](coder_restart.md) - Restart a workspace
58-
- [coder scaletest](coder_scaletest.md) - Run a scale test against the Coder API
59-
- [coder schedule](coder_schedule.md) - Schedule automated start and stop times for workspaces
60-
- [coder server](coder_server.md) - Start a Coder server
61-
- [coder show](coder_show.md) - Display details of a workspace's resources and agents
62-
- [coder speedtest](coder_speedtest.md) - Run upload and download tests from your machine to a workspace
63-
- [coder ssh](coder_ssh.md) - Start a shell into a workspace
64-
- [coder start](coder_start.md) - Start a workspace
65-
- [coder state](coder_state.md) - Manually manage Terraform state to fix broken workspaces
66-
- [coder stop](coder_stop.md) - Stop a workspace
67-
- [coder templates](coder_templates.md) - Manage templates
68-
- [coder tokens](coder_tokens.md) - Manage personal access tokens
69-
- [coder update](coder_update.md) - Update a workspace
70-
- [coder users](coder_users.md) - Manage users
71-
- [coder version](coder_version.md) - Show coder version
1+
# coder

docs/cli/coder_config-ssh.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

docs/cli/coder_create.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

docs/cli/coder_delete.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

docs/cli/coder_dotfiles.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

docs/cli/coder_list.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

docs/cli/coder_login.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/cli/coder_logout.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)