-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Command to add a dependency/package #8810
Comments
Does
|
@ffaf1 I think you didn't get what they ask for. They want to introduce new dependencies (as in |
Related work is: https://github.com/sdiehl/cabal-edit |
@ulysses4ever And is |
The latter. It also doesn't support all of the modern features of Cabal, like common stanzas (see its Readme), and it's kinda dormant (doesn't compile with current versions of GHC and Cabal). |
|
effectively the same issue #7337 |
Yeah, a command to add a dependency pays off when you want to bulk-add or script stuff. hackage-cli works in many cases, but does not win a beauty contest. It is good enough for bulk-revising package versions. In advanced |
I've written https://github.com/Bodigrim/cabal-add. It handles |
This is the kind of use I'd been thinking of for #9063, fwiw. |
Most build tools have a command to add a dependency to your project (e. g.
npm install
). If I'm not mistaken there currently is no such command in cabal andinstall
andget
might be misleading.Is it possible to add such command? Or is there a reason against or this issue being a duplicate?
Thanks :)
The text was updated successfully, but these errors were encountered: