Skip to content
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

Add bbin --outdated option #66

Open
aadrian opened this issue May 14, 2023 · 3 comments
Open

Add bbin --outdated option #66

aadrian opened this issue May 14, 2023 · 3 comments

Comments

@aadrian
Copy link

aadrian commented May 14, 2023

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.

@rads
Copy link
Collaborator

rads commented Jun 19, 2023

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.

@borkdude
Copy link
Contributor

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.

@rads
Copy link
Collaborator

rads commented Jun 19, 2023

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 rads changed the title Add "bbin --outdated" option. Add bbin --outdated option Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants