jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
7.94k stars 191 forks source link

feat: add "devbox list" command (same as "devbox global list" but for current box) #2005

Open yogeek opened 3 months ago

yogeek commented 3 months ago

What problem are you trying to solve?

It is possible to list global packages and their versions with devbox global list but is does not seem possible to do the same for a specific devbox

What solution would you like?

It would be great to be able to do the same "locally", i.e. for a specific devbox environment

Maybe something like :

# ----------------------------- Global config
$ devbox global add jq
$ devbox global list
jq@latest

# ----------------------------- Local config
$ cd ./k8s-dev

$ devbox add kubernetes

$ devbox list
kubernetes@latest

$ devbox list all
jq@latest [global]
kubernetes@latest

Not sure about the UX so do not hesitate to propose other ideas !

Alternatives you've considered

No response