alpm-db-files-format(1)

πŸ“¦ version 0.3.0, in arch rolling

πŸ’… alpm-db-files-format

okay bestie, so this is the manual for alpm-db-files-format from the General Commands Manual β€” it's a little tool that reads alpm-db-files data, gives it a vibe check (aka validates it), and then hands it back to you in a whole different file format. iconic behavior honestly πŸŽ€


✨ NAME ✨

alpm-db-files-format β€” reads and validates alpm-db-files data and returns it in another file format. that's it, that's the whole job, and she does it flawlessly πŸ’–


🌸 SYNOPSIS 🌸

alpm-db-files format [-i|--input-file] [-f|--format] [-o|--output]
[-p|--pretty] [-h|--help]

πŸ¦‹ DESCRIPTION πŸ¦‹

So what she does: reads your alpm-db-files data, validates it, and returns it to you in another file format. simple queen energy πŸ‘‘

If the data passes validation, the program exits with the data returned in another file format on stdout, and an exit code of zero. slay βœ…

But if the file can't be validated? 😭 an error gets emitted on stderr, and the program exits with a non-zero exit code. it's giving "failed the vibe check," and honestly, fair.


πŸ’… OPTIONS πŸ’…

  • -i, --input-file <INPUT_FILE> β€” the input file to read from. <br>if no file is provided, stdin is used instead. no file, no problem 🫢 may also be specified with the ALPM_DB_FILES_FORMAT_INPUT_FILE environment variable.
  • -f, --format <OUTPUT_FORMAT> [default: json] β€” sets the output format. <br>the possible values are:
    • json: the JSON output format.
    • v1: the alpm-db-files output format.

may also be specified with the ALPM_DB_FILES_FORMAT_OUTPUT_FORMAT environment variable.

  • -o, --output <OUTPUT> β€” a file path to write to. <br>may also be specified with the ALPM_DB_FILES_FORMAT_OUTPUT environment variable.
  • -p, --pretty β€” determines whether the output will be displayed in a pretty, non-minimized fashion. ✨ aesthetics ✨ <br>only applies to formats that support pretty output β€” otherwise it is ignored. (yes, she'll just quietly not care. very demure.) <br>may also be specified with the ALPM_DB_FILES_FORMAT_PRETTY environment variable.
  • -h, --help β€” print help (see a summary with '-h'). life saver fr fr πŸ™ˆ

lowkey reminder bestie: <INPUT_FILE>, <OUTPUT_FORMAT> and <OUTPUT> are placeholders β€” swap in your actual values, don't type the angle brackets literally πŸ’€

and that's the whole page! brought to you by alpm-db-files-format, living under the General Commands Manual umbrella, dated however this copy of the page says it is β€” mwah, go validate something gorgeous πŸŒˆπŸ’œ

πŸ“¦ where this page comes from