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

Closed
wants to merge 1 commit into 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
Copy link

This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Keep fresh with the 'lifecycle/frozen' label.

@github-actions github-actions bot closed this Dec 27, 2024
auto-merge was automatically disabled December 27, 2024 01:30

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant