Command-line Interface¶
mvi¶
Command-line tool for MultiViz Integrator. Initialize a new project, deploy services, list them and kill them in a convenient package.
mvi [OPTIONS] COMMAND [ARGS]...
Options
-
--install-completion
<install_completion>
¶ Install completion for the specified shell.
- Options
bash | zsh | fish | powershell | pwsh
-
--show-completion
<show_completion>
¶ Show completion for the specified shell, to copy it or customize the installation.
- Options
bash | zsh | fish | powershell | pwsh
assign¶
Change main version of a service.
mvi assign [OPTIONS] NAME VERSION
Options
-
--yes
¶
Give confirmation to kill services at runtime. Skips prompt, so use with caution.
- Default
False
Arguments
-
NAME
¶
Required argument
-
VERSION
¶
Required argument
deploy¶
Deploy a new service.
mvi deploy [OPTIONS] NAME VERSION SOURCE
Options
-
-p
,
--port
<port>
¶ Internal port for the service.
- Default
8000
-
-i
,
--image
¶
Deploy service from an docker image.
- Default
False
-
-g
,
--git
¶
Deploy service from a git repository URL.
- Default
False
Arguments
-
NAME
¶
Required argument
-
VERSION
¶
Required argument
-
SOURCE
¶
Required argument
init¶
Generates skeleton code for a new MVI project.
mvi init [OPTIONS] [PATH]
Options
-
-n
,
--name
<project_name>
¶ Name of the project to skip prompt.
Arguments
-
PATH
¶
Optional argument
kill¶
Kill one or multiple services by name and version.
mvi kill [OPTIONS] [NAME] [VERSION]
Options
-
-a
,
--all
¶
Kill all services
- Default
False
-
--yes
¶
Give confirmation to kill services at runtime. Skips prompt, so use with caution.
- Default
False
Arguments
-
NAME
¶
Optional argument
-
VERSION
¶
Optional argument
login¶
Log in to the specified host.
mvi login [OPTIONS]
Options
-
-h
,
--host
<host>
¶ Host address to log in to.
-
-u
,
--username
<username>
¶ Username
-
-p
,
--password
<password>
¶ Password. Use with caution because input will be saved in terminal history.
-
-t
,
--token
<_token>
¶ Log in to a manager using a token instead of username and password.
logs¶
Shows the logs for a service.
mvi logs [OPTIONS] NAME [VERSION]
Options
-
-n
,
--tail
<tail>
¶ Output specified number of lines at the end of logs.Use “all” to get all logs.
- Default
50
-
-f
,
--follow
¶
If the logs should be followed
- Default
False
-
-d
,
--date
<date>
¶ Show logs since given datetime.
Arguments
-
NAME
¶
Required argument
-
VERSION
¶
Optional argument
ls¶
List running services, filtered by name and version.
mvi ls [OPTIONS] [NAME] [VERSION]
Arguments
-
NAME
¶
Optional argument
-
VERSION
¶
Optional argument