mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-28 18:30:07 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
77bb7dea83
commit
fd1baed480
8
argv.js
8
argv.js
@ -157,13 +157,13 @@ var afterCallback = function(name){
|
||||
// NOTE: essentially this parser is a very basic stack language...
|
||||
// XXX can we implement the whole thing directly as a stack language???
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
// XXX might be a good idea to read metadata from package.json
|
||||
// XXX unify handler.arg and handler.key...
|
||||
// ...syntax: "<arg>" | "<arg>|<key>"
|
||||
// XXX might also be a good idea to return clone rather than this... i.e.
|
||||
// treat the parser object as a result factory...
|
||||
// ...this would resolve any issues with misxing parse state with
|
||||
// grammer... etc.
|
||||
// XXX handle option types???
|
||||
// XXX --help should work for any command and not just for the nested
|
||||
// parser commands... (???)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user