1.0.1 • Published 9 years ago
datscript.sh v1.0.1
datscript.sh
Compile datscript to bash
npm install datscript.sh
Usage
var ds = require('datscript.sh')
var bash = ds(
'run echo hello world\n'+
'pipe\n'+
' echo piping\n'+
' cat'
)
console.log(bash)
Command line usage
npm install -g datscript.sh
datscript.sh test.ds | bash
Running the above will convert the datscript test.sh to bash and execute it
License
MIT