Convenience in the Haskell ecosystem

Challenge accepted :slight_smile: I spent in total 2.5 hours this evening writing GitHub - Bodigrim/cabal-add: Extend Cabal build-depends from the command line. Would you like to try and break it?

$ cabal-add --help
Usage: cabal-add [-f|--cabal-file FILE] [-c|--component ARG] DEP

  Extend build-depends from the command line

Available options:
  -f,--cabal-file FILE     Cabal file to edit in place (.cabal file in the
                           current folder, if omitted)
  -c,--component ARG       Package component to update (the main library, if
                           omitted)
  DEP                      Package to add to build-depends section
  -h,--help                Show this help text
14 Likes