0.0.2 • Published 6 years ago

alive-push-cli v0.0.2

Weekly downloads
10
License
-
Repository
-
Last release
6 years ago

AlivePush cli tools

安装

npm install -g alive-push-cli

使用

初始化

alive-push init

根据提示输入server url(alive-push的service的地址,包含端口号,结尾处需要'/')

注册

alive-push register

根据提示输入用户名和密码

应用相关命令

alive-push app <command>

 Commands:
   add <appName>                  add a new app
   ls                             list all app
   remove <appName>               remove a app
   rename <appName> <newAppName>  rename a app

应用部署相关命令

alive-push deployment <command>

Commands:
  add <appName> <deploymentName>            add a deployment
  history <appName> <deploymentName>        list deployment history
  ls <appName>                              list all deployment
  remove <appName> <deploymentName>         remove a deployment
  rename <appName> <deploymentName>         rename a deployment
  <newDeploymentName>

发布更新包

alive-push release

Options:
  -h, --help             Show help
  --appName, --an        app name
  --platform, -p         platform - Android or IOS   [choices: "Android", "IOS"]
  --binaryversion, --bv  binary version
  --deployment, -d       deployment - Staging or Production
                         [choices: "Staging", "Production"] [default: "Staging"]
  --mandatory            mandatory - force to update [default: false]
  --bundlepath, -b       explicit bundle path.Default to bundle under your
                         react-native project base path.
  --releasenote, --rn    release note

eg.

alive-push release --an test_ios -p Android --bv 1.0.0 --rn test_ios