vilicvane / clime

⌨ The command-line interface framework for TypeScript.
252 stars 10 forks source link

创建的命令行工具能否支持多个commands目录的的设置 或 命令行列表被扩展 ? #5

Closed maolion closed 7 years ago

maolion commented 8 years ago

主要想要的是在创建命令行工具实例的时候能支持多个 commands目录的设置

比如现在的接口使用是这样

let cli = new CLI('greet', Path.join(__dirname, 'commands'));

希望能支持的方式

let cli = new CLI('greet', [Path.join(__dirname, 'commands'), Path.join('path/to/extend-commands-dir')]);
vilicvane commented 7 years ago

Closed via https://github.com/vilic/clime/commit/970cc5743bbacb5e8927296dc5d0181fd3e79127