Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Feature: Add builder run <task> -- CLI ARGS #27

Closed
ryan-roemer opened this issue Jan 4, 2016 · 1 comment
Closed

Feature: Add builder run <task> -- CLI ARGS #27

ryan-roemer opened this issue Jan 4, 2016 · 1 comment

Comments

@ryan-roemer
Copy link
Member

Just like npm does it: https://docs.npmjs.com/cli/run-script

$ npm run-script <command> [-- <args>...]

As of npm@2.0.0, you can use custom arguments when executing scripts. The special option -- is used by getopt to delimit the end of the options. npm will pass all the arguments after the -- directly to your script:

$ npm run test -- --grep="pattern"
@ryan-roemer
Copy link
Member Author

Released in builder@2.4.0

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

No branches or pull requests

1 participant