querly
querly copied to clipboard
[Feature Request] Support `--format=json` option for `querly test`
Hello,
I want to parse the output of the querly test command more easily and safely.
So, what do you think about the suggestion to add a new option --format=json to the querly test command?
The option is almost similar to the querly check command. Here is the current querly check usage:
$ querly help check
Usage:
querly check [paths]
Options:
[--config=CONFIG]
# Default: querly.yml
[--root=ROOT]
[--format=FORMAT]
# Default: text
# Possible values: text, json
[--rule=RULE]
[--threads=N]
# Default: 8
Check paths based on configuration
On the other hand, the new options of querly test will be similar:
querly test(without--format, defaults to--format=text. The output is the current one)querly test --format=textquerly test --format=json
I would be happy if you could consider this suggestion. Thank you.