Skip to content

Add package inspect command#189

Merged
bhou merged 3 commits into
mainfrom
package-inspect-cmd
Feb 21, 2026
Merged

Add package inspect command#189
bhou merged 3 commits into
mainfrom
package-inspect-cmd

Conversation

@bhou
Copy link
Copy Markdown
Contributor

@bhou bhou commented Feb 6, 2026

So far in the built-in package command, we can list all the packages and show their commands in it. However, it doesn't provide enough metadata of the package. for example, which repository it is, what version it is, etc. It makes debugging very difficult.
This inspect command accepts a pacakge name (support auto-completion), will list all the packages with the same name in different local repository. For each package, list their metadatas. So far it prints:

  • Full Name
  • Version
  • Remote Registry (Source)
  • Remote Registry URL
  • Sync Policy
  • Local Repository Path
  • If it has been paused

Comment thread cmd/package-mgmt.go
@bhou bhou merged commit 1aa7cdb into main Feb 21, 2026
16 checks passed
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

Successfully merging this pull request may close these issues.

3 participants