nscript
nscript copied to clipboard
Write shell scripts like a bearded guru by unleashing your javascript skills!
There is the following typo in `README.md`: > other `parameternames` are filled with wrapped executables with the same name
Instead of this: ``` module.exports = function(shell, echo, $beard) { ``` Would it be possible to simply use: ``` module.exports = function(shell, true, $beard) { ``` And use `echo()` as...
Perhaps add a flag to transform the script with babel before executing? It would be nice to be able to use ES6+ features: ``` javascript #!/usr/bin/env nscript --babelify export default...
The default shebang `#!/usr/bin/nscript` failed to work for me. Perhaps because I use NVM on a Mac, I'm not sure. But changing it to use `env` worked nicely: ``` #!/usr/bin/env...
https://github.com/BYVoid/Batsh Looks promising. Though I'm mostly a JS dev.
Makes sure you can more easily write to files.