whatscli
whatscli copied to clipboard
Adds support for hex and rgb values in config.
- improves support for #24 (hex).
Design
- Adds a struct to represent the config right after loading from the
.inifile using primitive types (string,int,bool, etc.) - Adds a struct to represent the config with rich types (
tcell.Color). - Prints any errors in the configuration to the console.
config.Coloris a simple wrapper aroundtcell.Colorthat has a.HexCodemethod to return a"#RRGGBB"string where needed.