ovhcloud-cli/doc/ovhcloud_xdsl_list.md
Arthur Amstutz f1f72e2ba5
doc: Improve doc of flags --filter and --format
Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
2025-09-24 13:45:56 +00:00

1.8 KiB

ovhcloud xdsl list

List your XDSL services

ovhcloud xdsl list [flags]

Options

      --filter stringArray   Filter results by any property using https://github.com/PaesslerAG/gval syntax
                             Examples:
                               --filter 'state="running"'
                               --filter 'name=~"^my.*"'
                               --filter 'nested.property.subproperty>10'
                               --filter 'startDate>="2023-12-01"'
                               --filter 'name=~"something" && nbField>10'
  -h, --help                 help for list

Options inherited from parent commands

  -d, --debug           Activate debug mode (will log all HTTP requests details)
  -f, --format string   Output value according to given format (expression using https://github.com/PaesslerAG/gval syntax)
                        Examples:
                          --format 'id' (to extract a single field)
                          --format 'nested.field.subfield' (to extract a nested field)
                          --format '[id, 'name']' (to extract multiple fields as an array)
                          --format '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
                          --format 'name+","+type' (to extract and concatenate fields in a string)
                          --format '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
  -e, --ignore-errors   Ignore errors in API calls when it is not fatal to the execution
  -i, --interactive     Interactive output
  -j, --json            Output in JSON
  -y, --yaml            Output in YAML

SEE ALSO

  • ovhcloud xdsl - Retrieve information and manage your XDSL services