libs/cmd-conf.js
function process(){
		if (!conf.configured) that.configure();
		var args = command.args.slice(0);
		for(var i in args){
			var arg = args[i];
			if(conf.regexp.test(arg)){
				var catchWord = RegExp.$2;
				switch(RegExp.$1){
					case '-': 
						processShortKey(catchWord, i, args);
						break;
					case '--':
						processKey(catchWord, i, args);
						break;
				}
			} else {
				addArgument(arg);
			}
		}
		conf.processed = true
	}
function process(){
		if (!conf.configured) that.configure();
		var args = command.args.slice(0);
		for(var i in args){
			var arg = args[i];
			if(conf.regexp.test(arg)){
				var catchWord = RegExp.$2;
				switch(RegExp.$1){
					case '-': 
						processShortKey(catchWord, i, args);
						break;
					case '--':
						processKey(catchWord, i, args);
						break;
				}
			} else {
				addArgument(arg);
			}
		}
		conf.processed = true
	}
function process ( ) { if ( ! conf . configured ) that . configure ( ) ; var args = command . args . slice ( 0 ) ; for ( var i in args ) { var arg = args [ i ] ; if ( conf . regexp . test ( arg ) ) { var catchWord = RegExp . $2 ; switch ( RegExp . $1 ) { case '-' : processShortKey ( catchWord , i , args ) ; break ; case '--' : processKey ( catchWord , i , args ) ; break ; } } else { addArgument ( arg ) ; } } conf . processed = true }
Fire the command line analyse
Fire the command line analyse