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
helploginlogoutroutes getroutes applylogs accessaccess-credentials getaccess-credentials generateorganizations getvaults get
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 extendingvgswith sub-commandsvgs.get.plugins- for extendingvgs getwith sub-commandsvgs.apply.plugins- for extendingvgs applywith sub-commandsvgs.logs.plugins- for extendingvgs logswith sub-commands
Example:
entry_points='''
[vgs.plugins]
activate=vgscliplugin.myplugin:new_command
[vgs.get.plugins]
preferences=vgscliplugin.myplugin:new_get_command
'''
Plugin catalog
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.18.0.tar.gz
(21.5 kB
view details)
File details
Details for the file vgs-cli-1.18.0.tar.gz.
File metadata
- Download URL: vgs-cli-1.18.0.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a382fc2340c707d823e98f0bd7002104bcbb6089ea7700f328f39c7a9aae6aa
|
|
| MD5 |
19d02667af9966d921e8df9fc7f342ca
|
|
| BLAKE2b-256 |
0db007e46d78b76a1482377f00a8155dd0fce659edfeff818d03d2db21df1c20
|