diff --git a/argv.js b/argv.js index 2a06dc8..d73d620 100644 --- a/argv.js +++ b/argv.js @@ -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 - 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 - script calls??? // XXX might be a good idea to use exceptions for ERROR... var Parser = module.Parser =