VGS CLI

Command Line Tool for programmatic configurations on VGS.
Official Documentation
Table of Contents
Requirements
Python 3 or Docker.
Installation
PyPI
Install the latest version from PyPI:
pip install vgs-cli
Run
Verify your installation by running:
vgs --version
Running in Docker
Check our official documentation.
Commands
Automation with VGS CLI
If you want to use the VGS CLI for automation you might be interested in creating a service account.
Plugins Development
See Click - Developing Plugins.
In order to develop a plugin you need to register your commands to an entrypoint in setup.py
.
Supported entrypoints:
vgs.plugins
- for extending vgs
with sub-commandsvgs.get.plugins
- for extending vgs get
with sub-commandsvgs.apply.plugins
- for extending vgs apply
with sub-commandsvgs.logs.plugins
- for extending vgs logs
with sub-commands
Example:
entry_points='''
[vgs.plugins]
activate=vgscliplugin.myplugin:new_command
[vgs.get.plugins]
preferences=vgscliplugin.myplugin:new_get_command
'''
Plugin catalog