-
Notifications
You must be signed in to change notification settings - Fork 220
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
Add list command #39
Add list command #39
Conversation
@owtaylor do you have any comments about the formatting of the output, etc.? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @ozoder One quick question:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been using the list
command for the past few days. It's really nice!
Some comments after that experience:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small nitpicky things about POSIX correctness:
I took the liberty to make the above changes for POSIX compatibility, and was able to use |
Add the list command providing the possibility to list all images and containers created by fedora-toolbox (i.e those that have the "com.redhat.component=fedora-toolbox" label). Two flags can be used: --images and --containers, to list only images or containers. If none of these flags is used, the command lists both. Additionally, containers that are currently running are highlighted by green color.