format
format
Set a report output format.
Syntax
--format
=
<string>
Arguments
<string>
is one of the
following:
Argument
| Description
|
---|---|
csv
| Tabular (.csv) file format
|
text
| .txt file format
|
xml
| .xml file format
|
Default
text
Actions Modified
Usage
By default, the
advisor
writes a report to
standard output in text format; however, it provides a number of options for
generating a report:
- Use thereport-outputoption to write a report to a file.
- Use thecsv-delimiteroption to set a delimiter other than a comma.
Generate a Dependencies report. Output in XML format.
Save it as
advisor-Dependencies.xml
.
$ advisor --report=dependencies -–project-dir=./advi --format=xml -–report-output=./out/advisor-Dependencies.xml
Generate a Dependencies report. Output in CSV format with tab delimiters.
Save it as
advisor-Dependencies.csv
.
$ advisor --report=dependencies --project-dir=./advi --format=csv --csv-delimiter=tab --report-output=./out/advisor-Dependencies.csv