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

Package detail

hyde-cli

HydeJS3MIT0.3.1

Hyde's command line interface module

hyde, command line, module

readme

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