alpm-srcinfo-format(1)

πŸ“¦ version 0.7.0, in arch rolling

πŸ’– NAME πŸ’–

okay so this is the General Commands Manual page for alpm-srcinfo-format(1), bestie β€” title and manual name folded right in, no cap 🫢. The page is alpm-srcinfo-format, and it exists to format a SRCINFO file from a path or stdin. It’s giving β€œuseful little formatter” main character energy, and honestly? Obsessed. πŸ’…

✨ SYNOPSIS ✨

the whole invocation is literally this:

alpm-srcinfo format [-s|--schema] [-o|--output-format] [-p|--pretty]
[-h|--help] [FILE]

slay. keep it exactly like that and you’re set. βœ…

🌸 DESCRIPTION 🌸

Format a SRCINFO file from a path or stdin. fr fr, that’s the whole assignment. πŸ’–

If the file is valid, the program prints the data in the requested file format to stdout and returns with an exit status of 0. periodt β€” happy path ate, data out, zero status, we love to see it. πŸŽ€

πŸ’… OPTIONS πŸ’…

  • -s, --schema <VERSION> β€” provide the SRCINFO schema version to use. if no schema version is provided, it will be deduced from the file itself. iykyk, it’s doing detective work. πŸ”
  • -o, --output-format <OUTPUT_FORMAT> β€” provide the output format. the original label has [default: srcinfo], so default: srcinfo, ngl. possible values are:
    • json: The JSON output format
    • srcinfo: The SRCINFO output format
  • -p, --pretty β€” pretty-print the output. only applies to formats that support pretty output and is otherwise ignored. so if your chosen format isn’t into it, it’s lowkey ignored β€” no drama, bestie. πŸ’…
  • -h, --help β€” print help (see a summary with '-h'). yes, it really says that, and yes, -h is the short summary vibe. 🫢
  • [FILE] β€” the file to read from. if no file is provided, stdin is used instead. so you can pipe it in like an icon. 🌈

mwah πŸ’‹ and that’s the page! footer sign-off from the original is alpm-srcinfo-format / alpm-srcinfo-format(1) β€” that’s the source/version-and-date stamp vibe, right there at the end, bestie. πŸ’–

πŸ“¦ where this page comes from