Production Ready Node: Command Line Tooling

2015 Mar07

c

ommand Line tools are an important component to development, administration and maintenance of most all software projects - large or small. A good command line tool greatly speeds up repetitive operations through simple and flexible abstractions.

The Node.js community has a number of tools out there for quickly building out a command line interfaces, commander being one of the more popular. However, most all of them suffer from the same set of problems, making them difficult to integrate into applications in a clean an re-usable manner. Primarily speaking, there is no way to separate general functionality, from a command, from the argument parsing, or a command from the command line tool itself. This makes building for code re-use

Read More

SEELI: Object Orientated CLI framework for Node.js

2014 Aug24

C

ommand line tools are a difficult thing to get right. I've never really been too happy with the more popular ones in the node.js community. Nothing supplied all of the basic features or implementation style that I wanted. Most of them try too hard to be the interface when all I really want is something that is really good at parsing flags and options, and return input in a plain object. So I wrote my own. Let me introduce you to Seeli ( C-L-I ), and object orientated, evented, and classy framework for building elegant Command line interfaces:

Installation

npm install seeli --save  

Object Orientated

To create a new command, all you need to do is create a new instance

Read More
filed under:  cli npm packages terminal node.js