alpm-db-files-format(1)
π 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 theALPM_DB_FILES_FORMAT_INPUT_FILEenvironment variable.-f,--format<OUTPUT_FORMAT>[default:json] β sets the output format. <br>the possible values are:json: the JSON output format.v1: thealpm-db-filesoutput 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 theALPM_DB_FILES_FORMAT_OUTPUTenvironment 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 theALPM_DB_FILES_FORMAT_PRETTYenvironment 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
- arch rolling: alpm-db 0.3.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