chore: Rename "start" to "server" (#1110)

Workspace commands will be aliased at the top-level, so
"start" would easily be confused with starting a workspace.

Server seems like a more appropriate name too.
This commit is contained in:
Kyle Carberry
2022-04-23 12:19:20 -05:00
committed by GitHub
parent da3681246e
commit 3976994781
8 changed files with 19 additions and 19 deletions

View File

@ -43,7 +43,7 @@ func Root() *cobra.Command {
`,
Example: cliui.Styles.Paragraph.Render(`Start Coder in "dev" mode. This dev-mode requires no further setup, and your local `+cliui.Styles.Code.Render("coder")+` CLI will be authenticated to talk to it. This makes it easy to experiment with Coder.`) + `
` + cliui.Styles.Code.Render("$ coder start --dev") + `
` + cliui.Styles.Code.Render("$ coder server --dev") + `
` + cliui.Styles.Paragraph.Render("Get started by creating a template from an example.") + `
` + cliui.Styles.Code.Render("$ coder templates init"),
@ -63,7 +63,7 @@ func Root() *cobra.Command {
cmd.AddCommand(
configSSH(),
start(),
server(),
login(),
parameters(),
templates(),