Empower cli client for API interaction
Project description
Empower cli client
A Command Line Interface ("CLI") is designed to provide rapid access to key Empower functions without the need to construct REST calls manually. The Empower CLI can be used to manage all Empower functions, and certain functions may only be available via the CLI.
How to start
- Setup discovery URL
empowercli context set --discovery-url https://discovery.empoweranalytics.io
. Follow step 2 or step 3. - Login with your domain if browser flow is used
empowercli auth login <domain>
- Login with credentials flow. To do that export EMPOWER_CLI_CLIENT_ID and EMPOWER_CLI_CLIENT_SECRET into environment variables. Those variables represent keycloak client id and secret. After that type
empowercli auth login-pipeline
- After the login, cli lists information for this domain from the discovery service. Now you can copy one of the available empower api URLs and setup it up for context.
empowercli empowercli context set --api-url <api-url>
- Now cli is able to perform commands to api endpoints, for example
empowercli api sources list
All other commands could be checked in docs or with empowercli --help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
empower_cli-2.0.0.tar.gz
(19.9 kB
view details)
Built Distribution
File details
Details for the file empower_cli-2.0.0.tar.gz
.
File metadata
- Download URL: empower_cli-2.0.0.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.16 Linux/5.15.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f8fd886221a0f82ba07940a39cebd19a4226ca46aff3a09a678b5c8457e33fb |
|
MD5 | 31cbb55fa6c23f61baf802f4ce1bb9d7 |
|
BLAKE2b-256 | 5ee067b784955e44358838306d9431af6d5f646f6d05753790256b32d4c6cf1c |
File details
Details for the file empower_cli-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: empower_cli-2.0.0-py3-none-any.whl
- Upload date:
- Size: 35.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.16 Linux/5.15.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbe129de3b0e7d92e8c9b51a7e826d3f05142fdd0107005e79041bb45a14d8d7 |
|
MD5 | 0672a41e5aa7c7f43c031de91090434c |
|
BLAKE2b-256 | 5203bc035c6420758b35a65f4452937a767cd78e13e58bcef3ccaa2ec9781240 |