Fork me on GitHub
#babashka-sci-dev
<
2022-08-12
>
teodorlu10:08:27

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.
...

teodorlu10:08:59

OK, incoming

teodorlu10:08:59

Must postpone to after lunch šŸ˜„

borkdude11:08:42

thanks!

šŸ‘ 1
teodorlu10:08:49

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.

borkdude10:08:49

Please discuss in #babashka-neil

šŸ‘ 1
borkdude10:08:00

There's more people contributing to neil there who might have ideas on this