From 0385d36f39d993371e1f028d25c58c85602ba90c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 29 Jun 2020 03:24:42 +0300 Subject: [PATCH] docs... Signed-off-by: Alex A. Naanou --- README.md | 16 ++++++++++++++++ argv.js | 3 --- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 46e103d..c695707 100644 --- a/README.md +++ b/README.md @@ -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. + + diff --git a/argv.js b/argv.js index 0879e9d..bb94956 100644 --- a/argv.js +++ b/argv.js @@ -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'),