babashka-sci-dev

teodorlu 2022-08-12T10:34:27.269019Z

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

borkdude 2022-08-12T10:35:47.506859Z

agreed

borkdude 2022-08-12T10:35:50.324229Z

PR welcome

teodorlu 2022-08-12T10:35:59.447759Z

OK, incoming

teodorlu 2022-08-12T10:38:59.780769Z

Must postpone to after lunch 😄

teodorlu 2022-08-12T11:49:19.315789Z

@borkdude pr: https://github.com/babashka/neil/pull/97

borkdude 2022-08-12T11:49:42.144799Z

thanks!

👍 1
teodorlu 2022-08-12T10:38:49.448869Z

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.

borkdude 2022-08-12T10:40:49.059849Z

Please discuss in #babashka-neil

👍 1
borkdude 2022-08-12T10:41:00.180759Z

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