A set of Node.js tools and utilities for creating CLIs.
- zx
- Automatic / easy to include tty/pty.
- Automatic / easy to get results of running external command.
- ARGV
- CONFIG / XDG
- sg-file
- cli-shezargs reboot
- But do not need to put no-more-no-less than each ARG in one ${} construct.
- Easy to use a non-async version (if possible)?
- Easy to make launched executable think it is on a TERM.
- Assumes launched executable was launched for a result on its STDOUT.
- But still easy if not.
- Has command-line parsing utility.
- Read settings from config file(s).
- Config files in correct dirs (according to XDG_ ...)
- Knows a lot about where things go on the file system
- Like what goes into /bin, /usr/bin, etc. vs. /etc and /var and /home
- MVP -- parsing args only