Merge pull request #7453 from ChrisPearce/Add-Missing-Opts-to-Commander-JS

Add missing opts argument to command function of Commander JS
This commit is contained in:
Horiuchi_H
2016-01-05 11:24:37 +09:00
+2 -1
View File
@@ -65,10 +65,11 @@ declare module commander {
*
* @param {String} name
* @param {String} [desc]
* @param {Mixed} [opts]
* @return {Command} the new command
* @api public
*/
command(name:string, desc?:string):ICommand;
command(name:string, desc?:string, opts?: any):ICommand;
/**
* Add an implicit `help [cmd]` subcommand