mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add JSON output format to many CLI commands (#6082)
This commit is contained in:
+4
-5
@@ -5,11 +5,10 @@ Aliases:
|
||||
list, ls
|
||||
|
||||
Flags:
|
||||
-c, --column stringArray Specify a column to filter in the table. Available columns are:
|
||||
id, username, email, created_at, status. (default
|
||||
[username,email,created_at,status])
|
||||
-h, --help help for list
|
||||
-o, --output string Output format. Available formats are: table, json. (default "table")
|
||||
-c, --column strings Columns to display in table output. Available columns: id, username,
|
||||
email, created at, status (default [username,email,created_at,status])
|
||||
-h, --help help for list
|
||||
-o, --output string Output format. Available formats: table, json (default "table")
|
||||
|
||||
Global Flags:
|
||||
--global-config coder Path to the global coder config directory.
|
||||
|
||||
Reference in New Issue
Block a user