diff --git a/README.md b/README.md index c3a13ad..2ea0de6 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ $ npm install psi ## Usage + + ```js const psi = require('psi'); @@ -114,8 +116,6 @@ $ psi --help --format Output format: cli|json|tap --locale Locale results should be generated in --threshold Threshold score to pass the PageSpeed test - --optimized Get the URL of optimized resources - --download Download optimized resources Example $ psi https://addyosmani.com --strategy=mobile diff --git a/lib/formats/cli.js b/lib/formats/cli.js index 4e35b2b..0f1c00a 100644 --- a/lib/formats/cli.js +++ b/lib/formats/cli.js @@ -8,7 +8,7 @@ const setTitle = sectionName => (chalk.gray.underline(sectionName) + '\n'); const renderInfo = str => (chalk.white(str) + '\n'); const renderOverview = item => { - const color = (item.label === 'Performance' || item.label === 'Usability') ? utils.scoreColor(item.value) : chalk.cyan; + const color = (item.label === 'Performance') ? utils.scoreColor(item.value) : chalk.cyan; return item.label + ':' + utils.buffer(item.label, 14) + color(item.value); };