deep-shell

deepjs promised based shell chain

deep-shell

Promised based chain to manage shell call (asynchronously obviously).

 
deep.sh(".")
.ls()
.pwd()
.exec("cat -b ../test")
.done(function(s){
    //... 
})
.elog();
 

To have access to dpsh (cli env with deep-shell, deep-restful, deep-views and deep-node loaded) :

> npm install -g deep-shell

launch :

> dpsh

usage :

deep.sh(".").pwd()...fs("...").from("...")...elog();

example of script in deep-shell/bin/bmpv that bump package.json version, update git tag, push everything and publish on npm.

> cd your/git/npm/module
> bmpv minor
> npm install deep-shell
var deep = require("deepjs");
require("deep-shell");
deep.sh(".").pwd()...fs("...").from("...")...elog();