return argv to command
This commit is contained in:
		@@ -23,7 +23,7 @@ export class Smartcli {
 | 
			
		||||
        this.parseStarted.promise
 | 
			
		||||
            .then(() => {
 | 
			
		||||
                if (this.argv._.indexOf(definitionArg.commandName) == 0) {
 | 
			
		||||
                    done.resolve();
 | 
			
		||||
                    done.resolve(this.argv);
 | 
			
		||||
                } else {
 | 
			
		||||
                    return done.reject();
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user