It's a UNIX system,
I know this!
Writing UNIX compliant CLI apps in JavaScript
/usr/akts
fsug-tvm ∣
neoito.com
Goals
- Use the NodeJS runtime.
-
Write a good CLI app in JavaScript that plays well with the
$SHELL.
-
Understand
Unix
conventions and rules while developing the app.
Conventions

Rules
How software should interact with other software using the
system.
eg: Unix Pipes
$ ls -l | wc -l
Demo
-
A whirl wind tour of how JavaScript(NodeJS) and modules work.
- Intro to our library.
- Simplest implementation.
- Handling errors.
- Usage messages.
- Output streams.
- Exit statuses.
- Man pages.
Fin / Questions?
-
dotRB -
George Brocklehurst's presentation.
-
sysexits
- How and the what.
-
2ality
- Dr. Axel Rauschmayer's nodejs CLI write up.
-
code - Github