planning and notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-07-16 17:02:10 +03:00
parent cea4668442
commit 3ee263ee14

16
argv.js
View File

@ -186,13 +186,19 @@ var afterCallback = function(name, pre, post){
// NOTE: essentially this parser is a very basic stack language...
// XXX can we implement the whole thing directly as a stack language???
//
// XXX should a flag have more than one value???
// XXX can we add more prefixes, like '+' and the like???
// ...add prefix handlers???
//
// XXX FEATURE: handle <scriptName>-<command> script calls...
//
// XXX FEATURE (DELAYED): read metadata from package.json...
// ...not clear which package json to get, needs more thought...
// XXX FEATURE (DELAYED): handle multiple values per flag...
// ...manually this is trivial, automating it would complicate things,
// will think about it when we need this feature more than once...
// XXX FEATURE (DELAYED): multiple prefixes, like '+' and the like...
//
//
// XXX should -help should work for any command? ..not just nested parsers?
// ...should we indicate which thinks have more "-help"??
// XXX might be a good idea to read metadata from package.json
// XXX should we handle <scriptName>-<command> script calls???
// XXX might be a good idea to use exceptions for ERROR...
var Parser =
module.Parser =