alpm-pkginfo-format(1)
π NAME π
okay so welcome to the alpm-pkginfo-format(1) page, bestie β General Commands Manual energy, and here's the whole point: alpm-pkginfo-format parses a PKGINFO file and outputs it in a different file format. that's it, that's the function. π
β¨ SYNOPSIS β¨
run it like this, fr fr:
alpm-pkginfo format [-s|--schema] [-o|--output-format] [-p|--pretty]
[-h|--help] [FILE]
π DESCRIPTION π
Parse a PKGINFO file and output it in a different file format β that's the main-character job. β¨
if the input can be validated according to a known schema, the program writes the PKGINFO data to stdout in a different file format β optionally, a file path to write to may be provided β and exits with a return code of 0. currently only JSON is supported as output format. slay. π«Ά
if the input can not be validated according to a known schema, an error is emitted on stderr and the program exits with a non-zero exit code. yes, that's the warning part, bestie β no silent weirdness. π
π OPTIONS π
-s,--schema <VERSION>β provide thePKGINFOschema version to use. if no schema version is provided, it will be deduced from the file itself. iconic deduction behavior. π§-o,--output-format <OUTPUT_FORMAT>[default:json] β the output format to use. currently only"json"(the default) is supported. possible values:jsonβ The JSON output format
-p,--prettyβ pretty-print the output. has no effect if the output format can not be pretty printed. so don't expect a glow-up where it can't glow. π-h,--helpβ Print help (see a summary with'-h'). the lowercase-his right there for you. π[FILE]β an optional input file path to read from. if no file path is specified,stdinis read from and expected to containPKGINFOdata to format. pipe it in, bestie. π
that's the whole page, bestie π β signed off with source/version alpm-pkginfo-format and manual alpm-pkginfo-format(1). the original footer doesn't list a date, so no invented date here, periodt. π
β¨
π¦ where this page comes from
- arch rolling: alpm-pkginfo 0.7.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