cube.py

Cube sample script

usage: cube.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}] [-c CLUSTER_ID]
               {build,env,unload,load,prepare,build-cloud,upload-images} ...

Positional Arguments

command Possible choices: build, env, unload, load, prepare, build-cloud, upload-images

Named Arguments

--loglevel

Possible choices: DEBUG, INFO, WARNING, ERROR

Set the script log level

-c, --cluster_id
 The cluster id. Default local

Sub-commands:

build

Build the specified target

cube.py build [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

env

Print environment variables

cube.py env [-h]

unload

Unload the specified target definition in the cloud

cube.py unload [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

load

Load the specified target definition in the cloud

cube.py load [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

prepare

Copy SDK and generate the project files

cube.py prepare [-h] [-n]

Named Arguments

-n, --dry-run

Just print what it will do

Default: False

build-cloud

Build the specified target for the cloud

cube.py build-cloud [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

upload-images

Upload Cube sample images to the cloud

cube.py upload-images [-h] [targets [targets ...]]

Positional Arguments

targets The targets to upload