Runnit – Make Terminal Shortcuts
npmjs.com
npmjs.com
* Bash: https://mijingo.com/blog/creating-bash-aliases (TLDP documentation was pretty bad)
* Powershell: https://docs.microsoft.com/en-us/powershell/module/microsoft...
-- vs --
> alias cu="nodejs <(curl -s https://raw.blah/master/bin/runn.js)" ; cu
I dunno man... aha.
EDIT: I hope the OP / author isn’t too put off by the criticism. Props to you for writing something and sharing it, and keep coding! But also take some time to reflect on what you’re building and the context of its use. Cheers!
When I moved into my current job automating sysadmin work for an enterprise I discovered the joy of PowerShell and an analysis of my enterprise Bitbucket account shows that I have committed more LoC of PS than any other language.
PS is a joy to code in and would rather write programs in PS. But I still would prefer BASH for oneliners and CLI use.
Not sure if there is really anything of note there. My automation work is all closed source and owned by my company.
Run it!
$ runn cu
Boom!
Hard pass. Save it
$ runn cu "curl https://raw.githubusercontent.com/shalithasuranga/runn/master/bin/runn.js"
Run it!
$ runn cu