bbin icon indicating copy to clipboard operation
bbin copied to clipboard

Add `bbin --outdated` option

Open aadrian opened this issue 1 year ago • 3 comments

Please add bbin --outdated option to see which of the installed scripts are outdated.

(e.g. a similar behavior to npm outdated -g would be cool . The brew outdated way is also good, but the table/version based display of NPM is way more useful)

I think this would increase the reach and usability of the tool.

Thank you.

aadrian avatar May 14 '23 05:05 aadrian

It would be nice to use antq for deps.edn-based scripts. Currently antq doesn't run in Babashka but we could potentially work around this by running a Clojure subprocess with babashka.tasks/clojure.

We'll still need to write logic to check scripts that antq can't handle but this will reduce some of the effort overall. It would be ideal if antq could be used directly from Babashka in the future.

rads avatar Jun 19 '23 18:06 rads

neil also has similar features for updating stuff to the latest versions. running antq directy in bb would require mvn etc to work directly in bb.

borkdude avatar Jun 19 '23 18:06 borkdude

Got it. I haven't looked into how antq works internally, so thanks for the clarification. I'll take a look at the existing code in neil to see what we can reuse.

rads avatar Jun 19 '23 19:06 rads