GeoSpock DB CLI
Project description
GeoSpock DB CLI
Installing the CLI from pip
$ python -m pip install gsdb-cli
Logging in with your enterprise Identity Provider
The configure
command creates a configuration file with the endpoint for your deployment and saves your username
and password to your computer's secure keychain.
Alternatively, if you do not want to save your details:
- all commands can be run with
gsdb --user <value> --password <value> --endpoint <value> COMMAND
. - the CLI will also check for the environment variables
GEOSPOCK_USER
andGEOSPOCK_PASSWORD
and use these to authenticate. An environment variableGEOSPOCK_ENDPOINT
can also be used to provide the request address.
An optional --profile <value>
argument can be used to set up configurations for multiple GeoSpock DB deployments.
All subsequent gsdb
commands can then use this profile flag to specify that deployment, e.g.
gsdb --profile dev COMMAND
.
Running the CLI
The CLI can be activated at the command line using gsdb [--profile <value>] COMMAND ...
A list of commands can be shown by using gsdb --help
. Further information on the input types of each command can be
obtained by running gsdb COMMAND --help
.
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
File details
Details for the file gsdb-cli-1.0.0.tar.gz
.
File metadata
- Download URL: gsdb-cli-1.0.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1699e76849da34540524938eb9681923571d3aee3068a2a557368ba638d19239 |
|
MD5 | 4c5726d0e30718d539e05c6f7cf729f7 |
|
BLAKE2b-256 | 63d28830266187e9af90003e433a2b8719e06b06a450b0ab9e18dadd08a88df7 |