Webperf-se / webperf_core

webperf-core is an open-source testing suite tailored to help you improve your digital presence in areas like web performance, security and accessibility to email best practice using many small improvements.
https://webperf.se/articles/webperf-core/
MIT License
19 stars 30 forks source link

Add show review from terminal options to settings.json #530

Closed 7h3Rabbit closed 3 months ago

7h3Rabbit commented 3 months ago

Today when running webperf-core you can specify to show review(s) in terminal by using -r or --review for current run.

In this PR we make it possible to specify it in settings.json and have it persistent between runs:

{
    "general": {
        "review": {
            "show": true
        }
}

You can also use the longer form for use during current run: python default.py --setting general.review.show=true -i sites.json

you should see this as the first steps of moving more and more options into settings.json.