mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(docs): update docs for correct use of shell and console and enforce linewidth (#9245)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
Long-lived tokens can be generated to perform actions on behalf of your user account:
|
||||
|
||||
```console
|
||||
```shell
|
||||
coder tokens create
|
||||
```
|
||||
|
||||
|
||||
@@ -24,13 +24,13 @@ const (
|
||||
|
||||
Generate a token on your Coder deployment by visiting:
|
||||
|
||||
` + "````sh" + `
|
||||
` + "````shell" + `
|
||||
https://coder.example.com/settings/tokens
|
||||
` + "````" + `
|
||||
|
||||
List your workspaces
|
||||
|
||||
` + "````sh" + `
|
||||
` + "````shell" + `
|
||||
# CLI
|
||||
curl https://coder.example.com/api/v2/workspaces?q=owner:me \
|
||||
-H "Coder-Session-Token: <your-token>"
|
||||
|
||||
Reference in New Issue
Block a user