alpm-pkginfo-format(1)

πŸ“¦ version 0.7.0, in arch rolling

πŸŽ€ 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 the PKGINFO schema 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 -h is right there for you. πŸ‘‘
  • [FILE] β€” an optional input file path to read from. if no file path is specified, stdin is read from and expected to contain PKGINFO data 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