Listing
When using list
commands, the results are automatically paged until the max-items
is reached. The default max-items
is 50, and can be changed using the --max-items
flag, or specified in the configuration file. Setting --max-items
to 0
will return a list of all resources.
The --page-size
flag is used for specifying the number of items to retrieve for each API request made when retrieving the listed output. This can be used to optimize list
command invocations.
Many listing commands support sorting using a --sort-by
command line option.
Last updated