VGS Client
Project description
VGS CLI
Command Line Tool for programmatic configurations on VGS.
Table of Contents
- Requirements
- Installation
- Run
- Running in Docker
- Commands
- Automation with VGS CLI
- Sphinx Documentation
- Plugins Development
Requirements
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.
Sphinx Documentation
In order to generate Sphinx documentation:
pip install -r dev-requirements.txt
cd docs
make html
Check the generated docs:
open build/html/index.html
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 extendingvgs
with sub-commandsvgs.get.plugins
- for extendingvgs get
with sub-commandsvgs.apply.plugins
- for extendingvgs apply
with sub-commandsvgs.logs.plugins
- for extendingvgs logs
with sub-commands
Example:
entry_points='''
[vgs.plugins]
activate=vgscliplugin.myplugin:new_command
[vgs.get.plugins]
preferences=vgscliplugin.myplugin:new_get_command
'''
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vgs-cli-1.7.1.tar.gz
(18.9 kB
view details)
File details
Details for the file vgs-cli-1.7.1.tar.gz
.
File metadata
- Download URL: vgs-cli-1.7.1.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 181d3a0063343fc936055f933966ab5117dd3a87d051b80562a7ce2c4d3311bc |
|
MD5 | e0e4fe39d01cf2fc7526a96d1fd5da24 |
|
BLAKE2b-256 | 6ad495da0f88ad6cdc65221c24827222cb26619936a2ad205a1f7be796b184ab |