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=text
querly test --format=json
I would be happy if you could consider this suggestion.
Thank you.
Hello,
I want to parse the output of the
querly testcommand more easily and safely.So, what do you think about the suggestion to add a new option
--format=jsonto thequerly testcommand?The option is almost similar to the
querly checkcommand. Here is the currentquerly checkusage:On the other hand, the new options of
querly testwill be similar:querly test(without--format, defaults to--format=text. The output is the current one)querly test --format=textquerly test --format=jsonI would be happy if you could consider this suggestion.
Thank you.