mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
* added query for tokens by user id * updated query args * adding owner col * fix request params * update-golden-files * added owners col to ls table output * added ttoken translations * prettier * format table according to arg * using slice.Contains * refactored token state * cleanup
38 lines
645 B
Markdown
38 lines
645 B
Markdown
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
# coder tokens list
|
|
|
|
List tokens
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder tokens list [flags]
|
|
```
|
|
|
|
## Flags
|
|
|
|
### --all, -a
|
|
|
|
Specifies whether all users' tokens will be listed or not (must have Owner role to see all tokens).
|
|
<br/>
|
|
| | |
|
|
| --- | --- |
|
|
| Default | <code>false</code> |
|
|
|
|
### --column, -c
|
|
|
|
Columns to display in table output. Available columns: id, last used, expires at, created at, owner
|
|
<br/>
|
|
| | |
|
|
| --- | --- |
|
|
| Default | <code>[id,last used,expires at,created at]</code> |
|
|
|
|
### --output, -o
|
|
|
|
Output format. Available formats: table, json
|
|
<br/>
|
|
| | |
|
|
| --- | --- |
|
|
| Default | <code>table</code> |
|