0.0.3 • Published 9 months ago
alt-v-cpd v0.0.3
利用命令行快速创建 Athena 插件文件夹,你可以在 example 文件夹里面修改生成的模板
use command line to create Athena plugis folder,you can change example code in example folder.
install
Using npm:
npm i cpd
Using yarn:
yarn add cpd
Useage
最重要的是要在 package.json 里面配置一下
The most important thing is to configuration in package.json,such as this.
"script":{
"...":"other Configuration",
// 最重要的是要加上这个
"cf":"cpd"
}
Using npm:
npm run cf <plugin_name>
Using yarn:
yarn cf <plugin_name>
Example