Skip to content

jelly/pacquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman Package Query Tool

A CLI tool to get JSON output of pacman packages from the system's syncdb.

Usage

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(" ")

Limitations

  • core-testing and extra-testing repositories are not included by default
  • pacquery expects an up-to-date syncdb and does not provide warning if it is not.

Completions

Shell completions can be created with cargo run --bin pacquery_completions in a directory specified by the env variable OUT_DIR.

Man page

A man page can be created with cargo run --bin pacquery_mangen in a directory specified by the env variable OUT_DIR.

About

Small pacman syncdb to json utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages