mirror of
				https://github.com/flynx/argv.js.git
				synced 2025-10-30 19:20:08 +00:00 
			
		
		
		
	planning and notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									cea4668442
								
							
						
					
					
						commit
						3ee263ee14
					
				
							
								
								
									
										16
									
								
								argv.js
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								argv.js
									
									
									
									
									
								
							| @ -186,13 +186,19 @@ var afterCallback = function(name, pre, post){ | |||||||
| // NOTE: essentially this parser is a very basic stack language...
 | // NOTE: essentially this parser is a very basic stack language...
 | ||||||
| // 		XXX can we implement the whole thing directly as a 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???
 | // XXX FEATURE: handle <scriptName>-<command> script calls...
 | ||||||
| // 		...add prefix handlers???
 | //
 | ||||||
|  | // 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?
 | // XXX should -help should work for any command? ..not just nested parsers?
 | ||||||
| // 		...should we indicate which thinks have more "-help"??
 | // 		...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...
 | // XXX might be a good idea to use exceptions for ERROR...
 | ||||||
| var Parser = | var Parser = | ||||||
| module.Parser = | module.Parser = | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user