File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55By default, the CLI displays on some pre-selected fields for a given type of
66response. If you want to see everything, just ask::
77``` bash
8- linode-cli linodes list --all
8+ linode-cli linodes list --all-columns
99```
1010
11- Using ` --all ` will cause the CLI to display all returned columns of output.
12- Note that this will probably be hard to read on normal-sized screens for most
13- actions.
11+ Using ` --all-columns ` will cause the CLI to display all returned columns of
12+ output. Note that this will probably be hard to read on normal-sized screens
13+ for most actions.
1414
1515If you want even finer control over your output, you can request specific columns
1616be displayed::
@@ -48,11 +48,12 @@ linode-cli linodes list --no-headers --text
4848
4949To get JSON output from the CLI, simple request it::
5050``` bash
51- linode-cli linodes list --json --all
51+ linode-cli linodes list --json --all-columns
5252```
5353
54- While the ` --all ` is optional, you probably want to see all output fields in
55- your JSON output. If you want your JSON pretty-printed, we can do that too::
54+ While the ` --all-columns ` is optional, you probably want to see all output
55+ fields in your JSON output. If you want your JSON pretty-printed, we can do
56+ that too::
5657``` bash
57- linode-cli linodes list --json --pretty --all
58+ linode-cli linodes list --json --pretty --all-columns
5859```
You can’t perform that action at this time.
0 commit comments