@@ -9,15 +9,28 @@ ovhcloud account api oauth2 client list [flags]
99### Options
1010
1111```
12- --filter stringArray Filter results by any property using https://github.com/PaesslerAG/gval syntax'
12+ --filter stringArray Filter results by any property using https://github.com/PaesslerAG/gval syntax
13+ Examples:
14+ --filter 'state="running"'
15+ --filter 'name=~"^my.*"'
16+ --filter 'nested.property.subproperty>10'
17+ --filter 'startDate>="2023-12-01"'
18+ --filter 'name=~"something" && nbField>10'
1319 -h, --help help for list
1420```
1521
1622### Options inherited from parent commands
1723
1824```
1925 -d, --debug Activate debug mode (will log all HTTP requests details)
20- -f, --format string Output value according to given format (expression using gval format)
26+ -f, --format string Output value according to given format (expression using https://github.com/PaesslerAG/gval syntax)
27+ Examples:
28+ --format 'id' (to extract a single field)
29+ --format 'nested.field.subfield' (to extract a nested field)
30+ --format '[id, 'name']' (to extract multiple fields as an array)
31+ --format '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
32+ --format 'name+","+type' (to extract and concatenate fields in a string)
33+ --format '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
2134 -e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
2235 -i, --interactive Interactive output
2336 -j, --json Output in JSON
0 commit comments