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
Built Distribution
Hashes for gsdb_cli-0.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 074dcbffdc709d7a21aab90122ef618cf539d6a65f302bfa79f6b471e80a13d8 |
|
MD5 | 19636efe937fe1fed9d88e7b628dbfc0 |
|
BLAKE2b-256 | 8b98465b2f75112d769955eb20e76e21c358bcc52871e91626fc579b88a28de9 |