Read information from cabal files https://github.com/barrucadu/cabal-info
|Latest on Hackage:||0.1.0.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Have you ever needed to get information from a cabal file in a shell script? Now you can! cabal-info exposes a simple command-line interface to the cabal file format.
There is also a library interface, to solve tasks based on searching for a .cabal file and then doing something with it.
See the README for more details.