2.0.1 • Published 9 years ago

apeman-task-kill v2.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

apeman-task-kill

Build Status Code Climate Code Coverage npm Version JS Standard

apeman task to kill process after task done.

Installation

$ npm install apeman-task-kill --save-dev

Usage

  1. Define a task within Apemanfile.js
  2. Call the task via apeman task command.

Apemanfile.js

/** This is an example Apemanfile to use apeman-task-kill */

'use strict'

module.exports = {
  $pkg: { /* ... */ },
  $tasks: {
    'process:kill': require('apeman-task-kill')({
      // Options
    }),
    // Kill process after something
    'do-something-and-kill': [
      'some-process-keeping-task',
      'process:kill'
    ]
  }
}

Then,

$ apeman task process:kill

Signature

apemanTaskKill(options) -> function

apeman task to kill process after task done.

Args
NameTypeDefaultDescription
optionsobjectOptional settings.
options.delaynumber100Delay to kill.

License

This software is released under the MIT License.

Links

2.0.1

9 years ago

2.0.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago