alpm-mtree-format(1)

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

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

DESCRIPTION
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.

OPTIONS

-o, --output-format=OUTPUT_FORMAT [default: Json]
    Provide the output format
    [possible values: json]

-p, --pretty
    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.

-h, --help
    Print help (see a summary with '-h')

[FILE]