containers / containers/toolbox

Improve `toolbox list` formatting

Open
#579 2 comments 0 reactions 0 assignees View on GitHub
1. Feature request 2. Design 2. Host Realm 5. Good First Issue 5. Help Wanted Project Pickle 🥒
Dominant language
Go
Stars
3.5k
Forks
262
Avg merge
3d 1h
Merged PRs (30d)
1

Description

The output of `toolbox list` currently looks like this:

![image](https://user-images.githubusercontent.com/213068/95874861-46791680-0d69-11eb-98d3-4c5affa556c8.png)

Various issues with this:

- The information isn't sorted according to what is most useful - containers are more interesting than images, names are more interesting than IDs
- Your eye is drawn to the bold coloured text, which leads you to skip over the other information and not really see it
- It's messy visually, due to the lack of consistent columns, which makes it hard to read
- The column headers are a bit shouty

Suggestion for an improved layout:

![image](https://user-images.githubusercontent.com/213068/95875407-e46ce100-0d69-11eb-91be-449f13ffe214.png)

Also, I wonder if this detailed output should be a `--verbose` option, and have `toolbox list` default to a simple list:

![image](https://user-images.githubusercontent.com/213068/95876042-91475e00-0d6a-11eb-87b5-da92128b46cc.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.