I found it slightly surprising that the docs for neil dep add hints to the user to run neil add dep --help for more info, switching the argument order around.
$ neil -h
...
dep
add: Adds --lib, a fully qualified symbol, to deps.edn :deps.
Run neil add dep --help to see all options.
...agreed
PR welcome
OK, incoming
Must postpone to after lunch 😄
thanks!
Idea: neil dep upgrade.
neil dep upgrade - lists upgradeable deps
neil dep upgrade :lib LIB - upgrade specific lib to latest
neil dep upgrade :everything - upgrade all upgradeable libs.
Potential problems:
• projects can have dependencies in project.clj, deps.edn or bb.edn.
About language: This would really be a "batch control dependency version". Which is sort of what neil dep add is too.
So ... perhaps we could just generate input for neil dep add? In which case it might make sense for neil dep add to support adding multiple libraries in a single CLI command.
Please discuss in #babashka-neil
There's more people contributing to neil there who might have ideas on this