alpm-mtree-format(1)

πŸ“¦ version 0.4.0, in arch rolling

✨ 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