Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-06-29 03:24:42 +03:00
parent 1d917ba679
commit 0385d36f39
2 changed files with 16 additions and 3 deletions

View File

@ -1,2 +1,18 @@
# ig-argv
simple argv parser
**Note:** this is still a work in progress, more and better docs are
coming and the code is still evolving...
# Motivation
I needed a new argv parser for a quick and dirty project I was working on
and evaluating and selecting the propper existing parser and then learining its
API, quirks and adapting the architecture to it seemd to be more complicated,
require more effort and far less fun than putting together a trivial parser
myself in a couple of hours.
This code is an evolution of that parser.

View File

@ -366,9 +366,6 @@ object.Constructor('Parser', {
//
// .error(callback(arg))
//
//
// XXX .then(..) passes the full list of unhandleed args including
// argv[0] and argv[1]...
then: afterCallback('parsing'),
stop: afterCallback('stop'),
error: afterCallback('error'),