close
Skip to content

Add devbox global info command - #2959

Merged
mikeland73 merged 2 commits into
jetify-com:mainfrom
humtta-forks:feat/devbox-global-info
Sep 13, 2026
Merged

Add devbox global info command#2959
mikeland73 merged 2 commits into
jetify-com:mainfrom
humtta-forks:feat/devbox-global-info

Conversation

@humtta

@humtta humtta commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds devbox global info, reusing the existing info command with the global configuration. This keeps it consistent with other project-scoped commands such as add and rm, which provide global variants.

Closes #2275 (cc @andbleo).
Closes #2500 (cc @yonil7).

How was it tested?

Ran it from a directory with no devbox.json in the current directory or any parent directory.

Verified that devbox info cowsay failed because no project configuration was found, while devbox global info cowsay succeeded and displayed the package information.

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 License.

By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the Community Contribution License.

@mikeland73 mikeland73 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regular info should probably work in non-devbox dir context as well, but this is reasonable too.

@mikeland73
mikeland73 merged commit 38fae1e into jetify-com:main Sep 13, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Be able to run devbox info xxx without a project devbox.json file devbox info only works in devbox projects

2 participants