fleetctl-stop
v2.0.0
Published
Stop fleet unit and retry on failure
Downloads
17
Readme
fleetctl-stop
Stop a fleet unit and retry on failure.
Installation
$ npm install fleetctl-stop --save
Usage
const stopUnit = require('fleetctl-stop');
// promises
stopUnit('ping').then(function () {
// done
});
// generators
yield stopUnit('ping');
Tests
$ make test
License
fleetctl-stop is released under the MIT license.