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_USERandGEOSPOCK_PASSWORDand use these to authenticate. An environment variableGEOSPOCK_ENDPOINTcan 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.
Metadata
Release files for gsdb-cli 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gsdb-cli-1.0.1.tar.gz | 12.6 kB | Details |
Release files / gsdb-cli-1.0.1.tar.gz
| Download URL | gsdb-cli-1.0.1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baabbddc7827a77d6e81c1af1f8f72ca1e773104610af217498bdfc9ceac6f91
|
|
BLAKE2b-256 checksum How to use checksums |
c383884cbdc3d38f2ca56a530445dbaccefc45e2c6e148fcd250f8eefc5c8d5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|