Skip to content

Add devbox global info command - #2959

Open
humtta wants to merge 2 commits into
jetify-com:mainfrom
humtta-forks:feat/devbox-global-info
Open

Add devbox global info command#2959
humtta wants to merge 2 commits into
jetify-com:mainfrom
humtta-forks:feat/devbox-global-info

Conversation

@humtta

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.

Sign up for freeto 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

1 participant

@humtta