genvid-sdk¶
Tool for manipulating the sdk
usage: genvid-sdk [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}] [-c CLUSTER_ID]
{clean,clean-config,clean-images,consul-template,load-config,load-config-sdk,log,monitor,open,setup,show-config,show-config-sdk,show-jobs,start,stop,upload-images,upload-images-sdk}
...
Positional Arguments¶
command | Possible choices: clean, clean-config, clean-images, consul-template, load-config, load-config-sdk, log, monitor, open, setup, show-config, show-config-sdk, show-jobs, start, stop, upload-images, upload-images-sdk |
Named Arguments¶
--loglevel | Possible choices: DEBUG, INFO, WARNING, ERROR Set the script log level |
-c, --cluster_id | |
The cluster id. Default local Default: “local” |
Sub-commands:¶
clean-config¶
Clean the whole configuration
genvid-sdk clean-config [-h] [source]
Positional Arguments¶
source | The configuration file that you want to remove. |
consul-template¶
Apply a consul template
genvid-sdk consul-template [-h] template
Positional Arguments¶
template | The template to load. |
load-config¶
Append to the configuration
genvid-sdk load-config [-h] source
Positional Arguments¶
source | The configuration file to load. |
log¶
Show a log
genvid-sdk log [-h] [-t] [-n LINES] [-f] task
Positional Arguments¶
task | The name of the log. |
Named Arguments¶
-t, --tail | Only show the last line. Default: False |
-n, --lines | The number of lines to tail (10). Default: 10 |
-f, --follow | Wait for additional content at the end of file. Default: False |
open¶
Open a link or show the list of links
genvid-sdk open [-h] [link]
Positional Arguments¶
link | The name of the link. |
start¶
Start jobs
genvid-sdk start [-h] [jobs [jobs ...]]
Positional Arguments¶
jobs | The jobs to start. |
stop¶
Stop jobs
genvid-sdk stop [-h] [jobs [jobs ...]]
Positional Arguments¶
jobs | The jobs to start. |