act-js icon indicating copy to clipboard operation
act-js copied to clipboard

use `--json` flag for better output parsing

Open shubhbapna opened this issue 1 year ago • 1 comments

Feature request

act has an option to enable json output. Using json will provide much easier output parsing than the current regex based string parsing. This will also significantly reduce maintenance complexity.

Additional context

The output-parser is a pluggable module, which make it easy for us to add another output parser without any breaking changes

shubhbapna avatar Jan 12 '24 15:01 shubhbapna

Oh, brilliant. Don’t know how I missed that. I can try to take a look this weekend.

peddamat avatar Feb 01 '24 19:02 peddamat