Files
coder/docs/reference/cli/list.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.6 KiB
Markdown
Raw Normal View History

2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
# list
List workspaces
Aliases:
* ls
2023-03-23 17:42:20 -05:00
## Usage
```console
coder list [flags]
```
## Options
### -a, --all
| | |
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
Specifies whether all workspaces will be listed or not.
### --search
| | |
|---------|-----------------------|
| Type | <code>string</code> |
| Default | <code>owner:me</code> |
Search for a workspace with a query.
2023-03-23 17:42:20 -05:00
### -c, --column
2024-08-20 14:47:46 +10:00
| | |
|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
2024-08-20 14:47:46 +10:00
| Type | <code>[favorite\|workspace\|organization id\|organization name\|template\|status\|healthy\|last built\|current version\|outdated\|starts at\|starts next\|stops after\|stops next\|daily cost]</code> |
| Default | <code>workspace,template,status,healthy,last built,current version,outdated,starts at,stops after</code> |
2023-03-23 17:42:20 -05:00
2024-08-20 14:47:46 +10:00
Columns to display in table output.
2023-03-23 17:42:20 -05:00
### -o, --output
2024-08-20 14:47:46 +10:00
| | |
|---------|--------------------------|
2024-08-20 14:47:46 +10:00
| Type | <code>table\|json</code> |
| Default | <code>table</code> |
2023-03-23 17:42:20 -05:00
2024-08-20 14:47:46 +10:00
Output format.