Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 6867ab3

Browse files
committed
Add usage to readme
Change-Id: Iced549dd1bf7b601b117b35b0e1fadfd31205d82
1 parent 0a9a186 commit 6867ab3

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,24 @@ Download the latest [release](https://github.com/cdr/coder-cli/releases):
1717
cd ~/go/bin
1818
tar -xvf ~/Downloads/coder-cli-linux-amd64.tar.gz
1919
```
20+
21+
## Usage
22+
23+
```
24+
$ coder --help
25+
Usage: coder [subcommand] [flags]
26+
27+
coder provides a CLI for working with an existing Coder Enterprise installation.
28+
29+
Commands:
30+
envs get a list of active environment
31+
login authenticate this client for future operations
32+
logout remote local authentication credentials (if any)
33+
sh executes a remote command on the environment
34+
sync establish a one way directory sync to a remote environment
35+
urls get all development urls for external access
36+
version print the currently installed CLI version
37+
config-ssh add your Coder Enterprise environments to ~/.ssh/config
38+
users used to interact with user accounts
39+
40+
```

cmd/coder/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func (versionCmd) Spec() cli.CommandSpec {
1515
return cli.CommandSpec{
1616
Name: "version",
1717
Usage: "",
18-
Desc: "Print the currently installed CLI version",
18+
Desc: "print the currently installed CLI version",
1919
}
2020
}
2121

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy