alpm-pkginfo-format(1) General Commands Manual alpm-pkginfo-format(1) NAME alpm-pkginfo-format - Parse a PKGINFO file and output it in a different file format SYNOPSIS alpm-pkginfo format [-o|--output-format] [-p|--pretty] [-h|--help] [FILE] DESCRIPTION Parse a PKGINFO file and output it in a different file format 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. 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. OPTIONS -o, --output-format=OUTPUT_FORMAT [default: json] The output format to use Currently only "json" (the default) is supported [possible values: json] -p, --pretty Pretty-print the output Has no effect if the output format can not be pretty printed. -h, --help Print help (see a summary with '-h') [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. alpm-pkginfo-format alpm-pkginfo-format(1)