Difference between revisions of "Desktop scripting/node"
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...") |
|||
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 | + | 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. |
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.