ecchronos
ecchronos copied to clipboard
Output Formatting in "ecctool”
Story Description: As of today, all output from ecctool is either formatted as plain text or table ECCTOOL_EXAMPLES.md When using ecctool from scripts, one has to use a regexp in order to be able to parse output from ecctool which is tedious and error prone. Having a format option would simplify this a lot.
Acceptance Criteria:
- All commands in ecctool have support for format option.
Definition of Done:
- All commands in ecctool have support for format option, atleast Json.
- Documentation updated with new examples.
Notes:
The output format could be extended to other formats as well. Starting with "-o json" would be enough for me.