doctl icon indicating copy to clipboard operation
doctl copied to clipboard

Suggestion: Show public images by default

Open tfogo opened this issue 7 years ago • 2 comments

Hi, I think the required --public flag for doctl image list is a bit counterintuitive. It seems to have tripped up others in the past and this was changed for list-distribution and list-application in #280.

I think it is a better UX for a list command to list all resources and then you should opt in to filtering them if you want. This would also match the behavior of list-distribution and list-application. Moreover, newcomers to the CLI are probably using image list to find an image slug to use in other commands, so making --public=true the default will help this beginner use case.

tfogo avatar May 10 '18 00:05 tfogo

Hi! Thanks for the suggestion. I don't have a real preference myself but I just wanted to note that the current behavior is consistent with the cloud control panel.

kamaln7 avatar May 10 '18 16:05 kamaln7

That's fair, internal consistency is good. Although the cloud control panel doesn't have an option to list public images at all. I guess what I'm saying is the CLI doesn't need to mimic the UI exactly - they have different use cases.

Anyway, it's a very small suggestion. If y'all have no preference please feel free to close out the issue 😊- Just wanted to share a thought I had getting started with the CLI, in case you found it helpful.

tfogo avatar May 10 '18 18:05 tfogo