Inside the op-composer crate, there is a list_containers method to list docker containers that have the op-up label.
A nice to have subcommand would be a simple cli subcommand like containers that would pretty print a nice list of op-up docker containers to stdout as a table
For example:
$ cargo run -- list
op-up docker containers
----------------------------------------------------------
| container | status | id | size |
----------------------------------------------------------
| l1-execution-client | up: 1:24:00 | abcdefgh | 156gb |
| l2-execution-client | up: 1:24:00 | abcdefgi | 32gb |
----------------------------------------------------------
Description
Inside the
op-composer
crate, there is alist_containers
method to list docker containers that have theop-up
label.A nice to have subcommand would be a simple cli subcommand like
containers
that would pretty print a nice list ofop-up
docker containers to stdout as a tableFor example: