Closed seamusabshere closed 7 years ago
I'd like to add to this the task of having more concise/clear output and combine cage source ls
into cage status
.
Proposed format:
POD SERVICE STATUS IMAGE LOCAL REMOTE VOLUMES PORTS
placeholders
db unmounted postgresql <none> <none>
redis unmounted redis <none> <none>
web
api mounted myorg/api src/api git://github.com/myorg/api mylib:src/mylib 3000
ui unmounted myorg/ui src/ui git://github.com/myorg/ui 80
ui_beta unmounted myorg/ui_beta src/ui git://github.com/myorg/ui#beta 8080
@dkastner The mounted/unmounted state in that design is too simple, because of the ability to mount extra libraries into multiple containers.
@dkastner If you'd like to propose a major overhaul of the output, please feel free to file a separate RFC issue with a design. This issue will be closed once I reduce the coloring a bit.
@seamusabshere I've removed the green from "enabled" (because it's the normal case) and I've made the pods and the services the same color to better support Mac terminals. I'm keeping the bright green for "RUNNING" (because I want it, and it's not the default case, which is is "not running at all"). I'm also keeping a single shade of blue for pod and services names, and we can see how it looks on a variety of screens this week.
A sample:
i would argue that you should leave everything the default color EXCEPT exceptional things (EXIT, STOPPED, etc.)
for example, green RUNNING is the normal state, it should be unexceptional
and the pod/service names are hard to read