properties
You can include the properties argument to customize the output of a command when the output is in the tab-separated values (tsv) or comma-separated values (csv) format.
Syntax
{--format | -f} {tsv | csv} [includeHeaders={labels | properties | none}]
[properties=keys]
Arguments
| Argument | Description |
|---|---|
[includeHeaders={labels | properties | none}] |
Specifies whether you
want the output to include a header line. Specify one of the following:
|
[properties=keys]
|
Identifies the keys
associated with the information you want included in the output. For example,
if you want the output to only include the product version, specify
properties=product.version.
To specify multiple keys, separate each
with a comma. For example, if you want alias names and descriptions in the
output, you might specify
Use
|
Usage Notes
- To determine the keys you can specify with
the
propertiesargument, execute agetorlistcommand and specifyincludeHeaders=properties properties=*so that the output displays a header line that shows the keys for all the possible properties.For example, you might want to use the
sagcc list landscape nodescommand to retrieve the list of alias names and descriptions for installations. First, execute thesagcc list landscape nodescommand with--format csv includeHeaders=properties properties=*to determine that the key for the alias name isaliasand the key for the description isdescription. You can then executesagcc list landscape nodeswith--format csv includeHeaders=name properties=alias,description.