fast-app-cli
v0.1.7
Published
fast-app是Apicloud快速开发脚手架
Downloads
21
Maintainers
Readme
fast-app-cli 工具使用说明
简介
- 操作系统: Mac/Windows/Linux
- nodejs环境 >= node v6.9.0 版本以上
- webpack >= v4.0.0 版本以上
- 开源协议: UNLICENSED
fast-app-cli 提供的一款适用于终端/命令行的 APICloud 平台开发APP脚手架工具,包含创建项目、打包项目、运行项目、WiFi同步等核心功能等核心库功能.
核心插件
#####fast-app-service 核心插件包 #####fast-app-router 核心路由包 #####fast-app-ajax 核心数据请求包
安装
稳定版安装:
npm install fast-app-cli -g
相关指令
Options:
-v, --version output the version number
-p, --port <number> 端口号 (default: 10916)
-r, --rootPath <string> Apicloud项目路径 (default: "./")
-u, --updateAll <bool> 是否全量更新,默认增量更新 (default: false)
-f, --file <string> 要预览的页面路径 (default: "./index.html")
-h, --help output usage information
Commands:
login 登录
regist 注册
getNotice 获取公告信息
create <name> 创建Apicloud项目
wifiStart 启动 wifi 服务
wifiStop 停止 wifi 服务
wifiSync wifi 增量/全量更新
wifiPreview wifi 预览
wifiInfo 获取 wifi 信息
wifiLog 获取 wifi 调试日志
Examples:
$ fast-app login 【 登录 】
$ fast-app regist 【 注册 】
$ fast-app getNotice 【 获取公告信息 】
$ fast-app create hello-world 【 创建Apicloud项目 】
$ fast-app -v 【 查看fast-app版本 】
$ fast-app wifiStart -p 10916 【 启动 wifi 服务 】
$ fast-app wifiStop -p 10916 【 停止 wifi 服务 】
$ fast-app wifiSync -r ./ -u false -p 10916 【 wifi 增量更新 】
$ fast-app wifiSync -r ./ -u true -p 10916 【 wifi 全量更新 】
$ fast-app wifiPreview -f ./index.html -p 10916 【 wifi 预览 】
$ fast-app wifiInfo -p 10916 【 获取 wifi 信息 】
$ fast-app wifiLog -p 10916 【 获取 wifi 调试日志 】
$ fast-app -h 【 查看帮助信息 】