Various cabal query commands wrapped in a simple CLI tool
Haskell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Src
.gitignore
.travis.yml
LICENSE
README.md
Setup.hs
cabal-db.cabal

README.md

A simple tool for cabal database query

Build Status BSD Haskell

A misc set of tools to operate misc queries on the local cabal database and the associated packages

Command

  • diff: run the diff command between two different versions of a package.
  • revdeps: print all reverse dependencies of a package.
  • info: print all available versions of a package and some misc information.
  • search-author: search all the database for match in the author field.
  • search-maintainer: search all the database for match in the maintainer field.
  • graph: generate a dot format graph of the dependency
  • license: list all licenses used by packages and their dependencies
  • bumpable: list all the upper version bounds that could be bumped for a list of packages
  • check-policy: list the contraints type (policy) of dependency of packages
  • check-revdeps-policy: list the contraints type (policy) of a specific package as used by all packages

Check the original blog post for more information: