From 9be0f4ff35ec877dfc70c5adef8d625a35fd5035 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 28 Jul 2020 03:09:12 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- README.md | 32 ++++++++++++++++++++++---------- argv.js | 42 +++++++++++++++++++++++++----------------- package.json | 2 +- test.js | 6 +++--- 4 files changed, 51 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 02b5c40..04ff6b3 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ This code is an evolution of that parser. - Hooks for dynamic option/command handling - Customizable error and stop condition handling + ## Planned Features - Run `-` scripts @@ -84,7 +85,7 @@ This code is an evolution of that parser. - [More control over help...](#more-control-over-help) - [Nested parsers](#nested-parsers) - [Components and API](#components-and-api) - - [`THEN`, `STOP` and `ERROR`](#then-stop-and-error) + - [`THEN`/ `STOP`](#then-stop) - [`ParserError(..)`](#parsererror) - [`Parser(..)`](#parser) - [`.then(..)`](#parserthen) @@ -231,10 +232,12 @@ $ ./script.js -fb ``` + ## Error reporting XXX + ## XXX add subsections by task XXX @@ -242,6 +245,7 @@ XXX XXX might be a good idea to split out the rest to a INDETAIL.md or similar... + ## Configuration ``` @@ -332,9 +336,9 @@ A _value_ can be passed either explicitly passed (via `=` syntax), implicitly parsed from the `argv` via the `