Commit Graph

14 Commits

Author SHA1 Message Date
Joel Elkins ce0710b0d1
ls output bikeshedding 2024-03-04 23:48:51 -06:00
Joel Elkins 070394fae1
Add colorized output for ls subcommand
Initiative is turning into a little hackathon. Trying to beautify ls output
a little since the number of configured containers on my main server is
growing to a large number (currently 44). text/tabwriter can't handle
SGR codes correctly. Investigations led me to the "ansiterm" library. I'm not
crazy about the API really, but it handles all the corners I'm concerned
about.
2024-03-03 14:15:46 -06:00
Joel Elkins 7222c6ba7f
ls: Improve column alignment 2024-02-24 15:53:03 -06:00
Joel Elkins 139ea8707c
ls enhancement: show running stats
Mainly for zabbix, but why not. Format of both json and text output of ls
has changed.
2024-02-22 21:56:34 -06:00
Joel Elkins ab92b45ba0
Add json output flag for ls subcommand: `ccl ls -J` 2024-02-19 12:23:28 -06:00
Joel Elkins 9e599bb956
ls: add counting summaries, with the idea of creating zabbix monitor 2024-02-18 14:16:09 -06:00
Joel Elkins ca5f956ef2
Complete linting for whole project 2022-08-17 10:21:46 -05:00
Joel Elkins de2fe4124b
ls: add group column 2022-08-14 00:11:37 -05:00
Joel Elkins d58402ab6f Allow for connection failures for some commands 2022-07-29 22:10:12 -05:00
Joel Elkins a1f4e8e8d9 Use unicode ✔ for `ls` Running and Created columns 2022-07-27 22:10:04 -05:00
Joel Elkins ddd391c8b0
Mask disabled category from action by default 2022-07-27 21:48:47 -05:00
Joel Elkins 53272b0da9 ls: add CREATED and RUNNING columns 2022-07-25 10:18:58 -05:00
Joel Elkins 959ffec79b Add RUNNING column to `ls` output 2022-07-21 17:17:26 -05:00
Joel Elkins 61b7fe55a0 Convert project structure to cobra; many other changes. WIP.
- Factor out various components to different packages
- Add abstract command package to allow for calling go funcs etc. at
  runtime.
2022-07-18 10:10:24 -05:00