question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI Request: Add "--all" option

See original GitHub issue

I’d like to be able to run a command like this:

browserslist --all ">0.5%, last 2 versions, not dead"

And have browserslist return BOTH the list of supported browsers AND the coverage statistics for the US and world, all in one fell swoop. Right now, to get this information, I must run three separate commands:

browserslist ">0.5%, last 2 versions, not dead"
browserslist --coverage ">0.5%, last 2 versions, not dead"
browserslist --coverage=us ">0.5%, last 2 versions, not dead"

I envision that the coverage information could simply be added to the bottom of the list of browsers. To maintain the standard output format:

[browser_name] [space] [version string]

I would suggest formatting the last two “coverage” lines as:

coverage_world [space] 90.34
coverage_us [space] 87.65

This drops the extra text returned by --coverage and allows consumers of the output to still parse it as a newline-separated list of space-separated key-value pairs.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
aicommented, Oct 5, 2018

Released in 4.2

0reactions
bdkjonescommented, Oct 5, 2018

I’ll be using the feature in CodeKit for sure! I don’t have any sort of “CodeKit” account on Twitter though. I just use my personal handle: @bdkjones

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command line options - AWS Documentation
In the AWS CLI, command line options are global parameters you can use to override the default configuration settings, any corresponding profile setting, ......
Read more >
wp option add | WP-CLI Command
EXAMPLES # # Create an option by reading a JSON file. $ wp option add my_option --format=json < config. json Success: Added 'my_option'...
Read more >
Powercfg command-line options - Microsoft Learn
Imports all power settings from a file. /export, Exports a power scheme to a file. /aliases, Displays all aliases and their corresponding GUIDs....
Read more >
Docker run reference
With the docker run [OPTIONS] an operator can add to or override the image defaults set ... By default, all containers, including those...
Read more >
The keytool Command - Oracle Help Center
All command and option names are preceded by a hyphen sign ( - ). ... if you don't specify the option on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found