nodemiral-forcetty
Version:
Server Automation for NodeJS over SSH
12 lines (10 loc) • 303 B
JavaScript
var nodemiral = require('../../');
var printUname = module.exports = nodemiral.taskList('Understanding OS');
printUname.execute('invoke uname', {
command: 'uname -a'
}, function(stdout, stderr) {
this.uname = stdout;
});
printUname.print('printing uname', {
message: "\t Uname is: {{uname}}"
});