Small pacman syncdb to json utility
MIT License
A CLI tool to get JSON output of pacman packages from the system's syncdb.
Show json output of the pacman package
cargo run pacman
With the required_by
field all packages requiring python-tomli
via {make,check}depends can be found using jq
cargo run python-tomli | jq -r '.[].required_by | join(" ")
core-testing
and extra-testing
repositories are not included by defaultpacquery
expects an up-to-date syncdb and does not provide warning if it is not.Shell completions can be created with cargo run --bin pacquery_completions
in a
directory specified by the env variable OUT_DIR
.
A man page can be created with cargo run --bin pacquery_mangen
in a
directory specified by the env variable OUT_DIR
.