deepsweet / start

:red_circle: Functional task runner for Node.js
https://start.js.org/
MIT License
476 stars 19 forks source link

allow for extra cli arguments #1

Closed fmal closed 8 years ago

fmal commented 8 years ago

I have a need to pass additional arguments to a task. For example I would like to set a --release flag to trigger build in production mode. Here's how this might look:

  "scripts": {
    "task": "babel-node node_modules/.bin/start tasks/",
    "build": "npm run task build",
    "build:prod": "npm run build -- --release"
  }
fmal commented 8 years ago

Thanks :+1:

deepsweet commented 8 years ago

v1.2.0