Skip to content
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

crane: Add "did you mean" to ls and catalog #2004

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonjohnsonjr
Copy link
Collaborator

People often try to run crane ls on a registry and crane catalog on a repo, neither of which will work. Attempt to nudge them in the right direction if we hit an error.

crane catalog example.com/foo -> crane catalog example.com (fails to parse)
crane ls example.com -> crane catalog example.com (dockerhub rejects)
crane ls localhost:5000 -> crane catalog localhost:5000 (fails to parse)

People often try to run `crane ls` on a registry and `crane catalog` on
a repo, neither of which will work. Attempt to nudge them in the right
direction if we hit an error.

Signed-off-by: Jon Johnson <[email protected]>
@jonjohnsonjr jonjohnsonjr enabled auto-merge (squash) August 27, 2024 22:05
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.

1 participant