Desktop scripting/node

From Adam Meola - wiki
Jump to navigation Jump to search

Node for shell scripting

Available on Windows, Linux, Mac

Everyone knows that node is a server environment, but it's also GREAT for desktop scripting!

you can write a node script, give it the proper bin bindings, install it globally, and that command is now installed on your system's shell.


I'll eventually cover how to make:

  • simple shell commands
  • shell commands that take arguments
  • interactive CLIs (interactive command line interfaces)


For now though, I invite you to look at an interactive CLI that I've built and use frequently: https://www.npmjs.com/package/run-interactive

I didn't do anything so terribly clever that you can't figure out what i did.