Difference between revisions of "Desktop scripting/node"

From Adam Meola - wiki
Jump to navigation Jump to search
(Created page with "==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 wri...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
Everyone knows that node is a server environment, but it's also GREAT for desktop scripting!
 
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 systems shell
+
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.

Latest revision as of 17:03, 2 September 2020

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.