0.3.1 • Published 9 years ago
hyde-cli v0.3.1
Hyde-cli
This is the command line module for Hyde.
If you want to make your own command line tool for Hyde just require this module and add your subscription too one of these observables:
module.exports.init = function(hydeConfig) {
var observer = Rx.Observer.create(
function (x) {
//Do on Next
},
function (err) {
//Do on Error
},
function () {
//Do on Completed
});
var subscription = hydeConfig.getObservable('args').subscribe(observer);
var subscription2 = hydeConfig.getObservable('commands').subscribe(observer);
}
0.3.1
9 years ago