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 ls should use catalog to list directories #137

Closed
mattmoor opened this issue May 12, 2018 · 3 comments
Closed

crane ls should use catalog to list directories #137

mattmoor opened this issue May 12, 2018 · 3 comments
Labels
good first issue Good for newcomers

Comments

@mattmoor
Copy link
Collaborator

Right now it only shows tags :-/

@jonjohnsonjr
Copy link
Collaborator

this is high effort low impact

@jonjohnsonjr jonjohnsonjr added the good first issue Good for newcomers label May 24, 2018
@mattmoor mattmoor closed this as completed Jul 8, 2018
@sding3
Copy link

sding3 commented Nov 3, 2022

If the argument parses out to be just a hostname rather than hostname/path, would it be reasonable for crane ls to list repos instead listing tags? If this is fine, then it doesn't seem too difficult.

@imjasonh
Copy link
Collaborator

imjasonh commented Nov 3, 2022

crane catalog does what you want today, and lists repos. I think it's best that crane ls and crane.List remain clear about which API they call, and don't try to detect and fallback to call the catalog API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants