CSV Formatting Options

Following are the csv formatting options available in common for all the CoreStack CLI commands. This works together with argument “–format csv”

Argument Allowed Values Usage & Example
  • –quote
nonnumeric (default) Usage: Adds quote to nonnumeric values in the output. This is default if argument is not specified with the command

Examples:

  • corestack templates-list -f csv –quote nonnumeric
  • corestack templates-list –format csv –quote nonnumeric
all Usage: Adds quote to all values in the output

Examples:

  • corestack templates-list -f csv –quote all
  • corestack templates-list –format csv –quote all
minimal Usage: Adds quote to only strings in the output

Examples:

  • corestack templates-list -f csv –quote minimal
  • corestack templates-list –format csv –quote minimal
none Usage: Adds quote to none of the values in the output

Examples:

  • corestack templates-list -f csv –quote none
  • corestack templates-list –format csv –quote none