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

nei构建mobile工程时,NEIKey.json中内容可以命令行参数的形式给出 #6

Closed
agger0207 opened this issue May 10, 2016 · 2 comments

Comments

@agger0207
Copy link

当前nei构建mobile工程时,待替换的key值在NEIKey.json中给出。现在应用开发人员反馈希望该信息可以通过命令行命令直接输入而不希望每次去修改NEIKey.json文件.

@agger0207
Copy link
Author

agger0207 commented May 10, 2016

经讨论,支持的参数不能为任意值;因此考虑为nei build命令增加如下用于模板化的参数用于覆盖NEIKey.json中的配置值

--ProductName 将模板中的{{ProductName}}替换为指定的参数
--Prefix 将模板中的{{Prefix}}替换为指定的参数
--CategoryPrefix 将模板中的{{CategoryPrefix}}替换为指定的参数

其他情况下的模板化替换,仍然需要从NEIKey.json中读取。

@huntbao
Copy link
Collaborator

huntbao commented May 13, 2016

#10

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