Skip to content
forked from runner/cli

Simple task runner command-line interface.

Notifications You must be signed in to change notification settings

IvanSlobodnychenko/cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task runner CLI

build status npm version dependencies status devDependencies status Gitter RunKit

Installation

npm install @runner/cli

Usage

Runner can be started by using npm or npx commands.

Run with the npm:

npm run build

When build is the name of the npm script which contains a runner command.

Run with the npx:

npx runner

The runner command format:

runner [options] [<task>]

Available options:

Option Description
-c, --config Configuration file is a script which contains tasks definitions. Default value - runner.js.
-s, --serial Run all given tasks sequentially (instead of in parallel).

These two commands are identical:

npx runner
npx runner --config runner.js

To run a webpack:build task in a custom configuration file:

npx runner -c tasks/develop.js webpack:build 

Without the task name starts the default task:

npx runner -c tasks/develop.js 

More information about tasks manipulation is available in the @runner/core package.

Contribution

If you have any problems or suggestions please open an issue according to the contribution rules.

License

@runner/cli is released under the GPL-3.0 License.

About

Simple task runner command-line interface.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%