npm i --save ns-tools
- 版本:0.0.3
- GitHub:
- NPM: https://npmjs.net.cn/package/ns-tools
- 下载
- 昨天: 0
- 上周: 0
- 上个月: 0
NativeScript 工具
用于与NativeScript一起工作的便捷工具
安装
npm install -g ns-tools
用法
Usage: nst [options] <cmd> <subCmd> [param...]
Options:
-h, --help output usage information
-V, --version output the version number
--css Create CSS file only
--js Create JS file only
--xml Create XML file only
--force-overwrite Force overwrite existing files. !!USE WITH CAUTION!!
创建新的控制器
nst create controller test/newpage
结果
Created: test/newpage.js
Created: test/newpage.css
Created: test/newpage.xml