-
Notifications
You must be signed in to change notification settings - Fork 21
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
V0.10.x info command #755
V0.10.x info command #755
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going back to the spec in #689 there are a few more pieces than have been addressed here:
zpm "info" and zpm "info -verbose" are "get my bearings" and "answer all of Support's preliminary questions" use cases, respectively.
- Display names of top-level packages (not dependencies) in the namespace are part of the base command, verbose variant shows External Name (internal-name) as relevant.
- The IPM shell welcome text will call "info"
- In "info -verbose" and put internal name in parentheses after external name
- In "list-installed" put internal name in parentheses after external name
For "answer all of Supports' preliminary questions I think we will want the build in the -verbose mode.
Please confirm: @isc-kiyer @isc-eneil @isc-jili
@isc-tleavitt
|
Good point - let's flip this around: zpm "info" should also show the information in the shell welcome text (version, etc.) as a one-stop shop for everything Support would need. |
@isc-tleavitt |
This PR adds an
info
command per #689 . It lists top level packages and their external name (if existent) and the semver without thebuild
part. If a-verbose/-v
modifier is passed, it will include default name in parentheses.