Skip to content

Commands

Commands

Help

Show all v99-cli support commands

v99-cli --help
v99-cli <command> --help

Doctor

Help to check your systems environment to run v99 CLI

v99-cli doctor

Login

Login by user name and password

v99-cli login

or type user name, password by command

v99-cli login -p <password> -u <username>
v99-cli login --password <password> --user <username>

Logout

Logout current user

v99-cli logout

App

The comand support develop an mini app

init

Create project with template

v99-cli app init

or type projectname, version by command

v99-cli app init -a <ProjectName> -v <X.XX.X>
v99-cli app init --appname <ProjectName> --version <X.XX.X>

List version mini app

build

Request Portal to bundle mini app, after that download and load app in the V99 Sandbox

v99-cli app build -f

Default option in command:

Option Default value
-f, --force false

bundle

App bundle

v99-cli app bundle --platform <ios|android> -e <path> -i <appID> -c <containerName>
v99-cli app bundle --platform <ios|android> --export <path> --id <appID> --container <containerName>

run

Run a mini app by independence with V99 Sandbox(run server: http://localhost:8081)

  • run android
v99-cli app run --device <device Id> --android
  • run ios
v99-cli app run --simulator <simulator name> --ios

start

Start a server and gen QR code to load the mini app via V99 Sandbox

v99-cli app start -p <XXXX>
v99-cli app build --port <XXXX>

Default option in command:

Option Default value
-p, --port 8181

Generate QR code

Generate QR Code for V99 Sandbox to load remote mini app from any url.

v99-cli gen-qr -u <Ex: bundle url> -d -p <XXXX>
v99-cli gen-qr --url <Ex: bundle url> --debug --port <XXXX>

Default option in command:

Option Default value
-p, --port 8181
-d, --debug false