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