hyde-cli

0.3.1 • Public • Published

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);
}
 

Package Sidebar

Install

npm i hyde-cli

Weekly Downloads

1

Version

0.3.1

License

MIT

Last publish

Collaborators

  • jtwebman