alpm-mtree-format(1) General Commands Manual alpm-mtree-format(1)

alpm-mtree-format - Read an MTREE file and return it in another file format

alpm-mtree format [-o|--output-format] [-p|--pretty] [-h|--help] [FILE]

Read an MTREE file and return it in another file format

Reads and validates an MTREE file according to a schema and outputs it in another file format (currently, only JSON is supported). If the file can be validated, the program exits with the data returned in another file format on stdout and a return code of 0. If the file can not be validated, an error is emitted on stderr and the program exits with a non-zero exit code.

Provide the output format

[possible values: json]

Determines whether the output will be displayed in a pretty non-minimized fashion.

Only applies to formats that support pretty output, otherwise it's just ignored.

Print help (see a summary with '-h')
[FILE]
alpm-mtree-format