feat(cli): add favorite/unfavorite commands (#11793)

This commit is contained in:
Cian Johnston
2024-01-24 14:05:39 +00:00
committed by GitHub
parent f92336c4d5
commit 70dc282b7d
10 changed files with 179 additions and 0 deletions
+2
View File
@@ -31,6 +31,7 @@ Coder — A tool for provisioning self-hosted development environments with Terr
| [<code>delete</code>](./cli/delete.md) | Delete a workspace |
| [<code>dotfiles</code>](./cli/dotfiles.md) | Personalize your workspace by applying a canonical dotfiles repository |
| [<code>external-auth</code>](./cli/external-auth.md) | Manage external authentication |
| [<code>favorite</code>](./cli/favorite.md) | Add a workspace to your favorites |
| [<code>features</code>](./cli/features.md) | List Enterprise features |
| [<code>groups</code>](./cli/groups.md) | Manage groups |
| [<code>licenses</code>](./cli/licenses.md) | Add, delete, and list licenses |
@@ -57,6 +58,7 @@ Coder — A tool for provisioning self-hosted development environments with Terr
| [<code>stop</code>](./cli/stop.md) | Stop a workspace |
| [<code>templates</code>](./cli/templates.md) | Manage templates |
| [<code>tokens</code>](./cli/tokens.md) | Manage personal access tokens |
| [<code>unfavorite</code>](./cli/unfavorite.md) | Remove a workspace from your favorites |
| [<code>update</code>](./cli/update.md) | Will update and start a given workspace if it is out of date |
| [<code>users</code>](./cli/users.md) | Manage users |
| [<code>version</code>](./cli/version.md) | Show coder version |
+16
View File
@@ -0,0 +1,16 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# favorite
Add a workspace to your favorites
Aliases:
- fav
- favourite
## Usage
```console
coder favorite <workspace>
```
+16
View File
@@ -0,0 +1,16 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# unfavorite
Remove a workspace from your favorites
Aliases:
- unfav
- unfavourite
## Usage
```console
coder unfavorite <workspace>
```
+10
View File
@@ -617,6 +617,11 @@
"description": "Print auth for an external provider",
"path": "cli/external-auth_access-token.md"
},
{
"title": "favorite",
"description": "Add a workspace to your favorites",
"path": "cli/favorite.md"
},
{
"title": "features",
"description": "List Enterprise features",
@@ -951,6 +956,11 @@
"description": "Delete a token",
"path": "cli/tokens_remove.md"
},
{
"title": "unfavorite",
"description": "Remove a workspace from your favorites",
"path": "cli/unfavorite.md"
},
{
"title": "update",
"description": "Will update and start a given workspace if it is out of date",