ecchronos icon indicating copy to clipboard operation
ecchronos copied to clipboard

Output Formatting in "ecctool”

Open masokol opened this issue 1 year ago • 0 comments

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:

  1. All commands in ecctool have support for format option.

Definition of Done:

  1. All commands in ecctool have support for format option, atleast Json.
  2. 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.

masokol avatar Dec 20 '24 12:12 masokol