alpm-mtree-format(1)
β¨ NAME β¨
okay so alpm-mtree-format β from the General Commands Manual, bestie β is literally Read an MTREE file and return it in another file format. π
Thatβs the whole name-section tea: it reads MTREE, it gives you another format back, periodt. π
π¦ SYNOPSIS π¦
alpm-mtree format [-s|--schema] [-o|--output-format] [-p|--pretty]
[-h|--help] [FILE]
π DESCRIPTION π
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. Slay. If the file can not be validated, an error is emitted on stderr and the program exits with a non-zero exit code. π
vibe check: validation fail = error on stderr + non-zero exit code, no cap. π«Ά
π OPTIONS π
-s,--schema <VERSION>β Provide the MTREE schema version to use.
If no schema version is provided, it will be deduced from the file itself. π
Valid values are ['1', '2'].
-o,--output-format <OUTPUT_FORMAT>[default: json] β Provide the output format.
Possible values:
json: The JSON output format
-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]β An optional file to read from.
If no file is provided, stdin is used instead. π
thatβs the whole page, bestie π«Ά β signed off from the General Commands Manual as alpm-mtree-format(1); footer source/version: alpm-mtree-format, page tag: alpm-mtree-format(1), and the original gives no separate date line, ngl π. bye and slay your MTREE validation ππ
π¦ where this page comes from
- arch rolling: alpm-mtree 0.4.0-1 Β· Apache-2.0 OR MIT AND CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms