This is used to control the text output format of the text emitted from commands that create information in the form of text. These formats are as follows:
Human or Plain
xml
json
html
csv
Syntax:
--format-type=[Human] | [xml] | [json] | [html] | [csv]
Example:
Human or Plain
iavault about --format-type=human
ImgArchive client tool
iaarc version "0.9.002" (build 64a9bc2b) Jul 28 2023 18:12:11
64 bit Windows Copyright@(2017-2020) IDK Solutions Ltd.
XML
iavault about --format-type=xml
<About>
<Application>iaarc</Application>
<Description>ImgArchive client tool</Description>
<Version>0.9.002</Version>
<Build>64a9bc2b</Build>
<Date>Jul 28 2023</Date>
<Time>18:12:11</Time>
<Platform>64 bit Windows </Platform>
<Copyright>Copyright@(2010-2016) IDK Solutions Ltd</Copyright>
</About>