# Convenience in the Haskell ecosystem

**URL:** <https://discourse.haskell.org/t/convenience-in-the-haskell-ecosystem/7731>\
**Category:** Uncategorized\
**Created:** [September 30, 2023, 10:18am UTC](https://discourse.haskell.org/t/convenience-in-the-haskell-ecosystem/7731 "2023-09-30T10:18:40Z")\
**Posts on this page:** 1\
**Showing post:** 169

<div class="post-metadata">

**Author:** ![Bodigrim](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/bodigrim/32/1457_2.png) [@Bodigrim](https://discourse.haskell.org/u/Bodigrim)\
**Post date:** [October 15, 2023, 11:04pm UTC](https://discourse.haskell.org/t/convenience-in-the-haskell-ecosystem/7731/169 "2023-10-15T23:04:21Z")

</div>

> [@bradrn](#):
>
> of the six reported issues for `hackage-cli`, one is that `add-bound` [results in a malformed cabal file](https://github.com/hackage-trustees/hackage-cli/issues/26). This is _exactly_ the kind of issue I would expect from a more ‘hacky’ solution like this, which works in most cases but fails when something unexpected comes up.

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

```haskell
$ 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

```

---

_[View the full topic](https://discourse.haskell.org/t/convenience-in-the-haskell-ecosystem/7731)._
