deep-shell
v0.4.9
Published
deepjs promised based shell chain
Downloads
7
Readme
deep-shell
Promised based chain to manage shell call (asynchronously obviously).
deep.sh(".")
.ls()
.pwd()
.exec("cat -b ../test")
.done(function(s){
//...
})
.elog();
install
globally
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
locally
> npm install deep-shell
var deep = require("deepjs");
require("deep-shell");
deep.sh(".").pwd()...fs("...").from("...")...elog();