Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
maolion opened this issue Nov 4, 2016 · 1 comment

Comments

@maolion
Copy link
Contributor

maolion commented Nov 4, 2016

主要想要的是在创建命令行工具实例的时候能支持多个 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
Copy link
Owner

vilicvane commented Mar 2, 2017

Closed via 970cc57

@vilicvane vilicvane modified the milestone: v0.5 Mar 26, 2017
@vilicvane vilicvane added the done label Mar 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants