Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

damson-driver-cli

damsonjs16MIT0.0.2

CLI driver for Damson

readme

damson-driver-cli

Information

Packagedamson-driver-cli
Description CLI driver for Damson

send(object)

Prints object in console, returns promise

var CliDriver = require('damson-driver-cli');
var cli = new CliDriver();
cli.send('Hello!').then(function () {
    //
});
var damson = require('damson-core');
var CliDriver = require('damson-driver-cli');
var SendMessage = require('damson-send-message');

damson.registerDriver(CliDriver, 'cli');
damson.registerTask(SendMessage, 'send-message');

damson.run('send-message', { message: 'Hello!' }, 'cli').then(function () {
    //
});