README
pluginCreater(Unstable)
这是一个可以帮助Cordova开发者快速创建plugin基础框架的工具。
This is a tools for cordova developer to generate a basic directory structure for cordova custom plugin.
platform support(支持的平台)
- Android
- iOS
Install 安装
Install from npmjs(从npmjs安装)
npm install -g pluginCreater
If you can not connect to Npmjs,You can install this tool as below(如果你无法连接到npmjs服务器请按照以下方式安装):
Download and Unzip(下载工具并解压) Download
npm install -g <yourLocalPath>/pluginCreater
How to create your own cordova plugin by pluginCreater(如何使用pluginCreater创建你自己的plugin)
Parameter(参数):
- -n Plugin name/ID(插件名/ID)
- -p The path where you want to store your plugin(存放插件的路径)
- -v Display the version of tool(显示版本号)
- -h Display help(显示帮助)
pluginc -n <pluginName> -p <pluginPath> [-h] [-v]
problem(问题)
目前由于我这里设备条件原因,只在Win10+Nodejs6.2.1+Cordova5.4.1通过了测试
Currently this is a unstable version .And only tested on Win10+Nodejs6.2.1+Cordova5.4.1
Contact(联系)
如果你发现bug,请在issue提交你的bug。
If you found issues please submit defect at issue
You should submit the information include as below(提交内容需要包括):
- OS version
- Nodejs version
- Cordova version
如果你想提交自己的代码到pluginCreater,请提交pull request。
If you want to pull your code to pluginCreater. Please pull request.
License
MIT
Author
Ryouaki(46517115@qq.com)