Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support --format=json option for querly test #72

Open
ybiquitous opened this issue Mar 10, 2020 · 0 comments
Open

[Feature Request] Support --format=json option for querly test #72

ybiquitous opened this issue Mar 10, 2020 · 0 comments

Comments

@ybiquitous
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant