Command line utility for K as a Service
Project description
KaaS CLI
Simple Installation
Our deployments can be found on Pypi.
Installation
pip install --user kaas-cli
or
sudo pip install kaas-cli
For Developers
Prerequisites: python >= 3.10
, pip >= 20.0.2
, poetry >= 1.3.2
.
Installation
To install the package using pip
, start by building from Source
make build
pip install dist/*.whl
Configure the CLI by copying the example environment file and setting up the necessary environment variables:
cp .flaskenv.example .flaskenv
Then, edit the .flaskenv
file to match your settings.
Environment Variables
Here's an overview of the environment variables:
- SERVER_URL: The KaaS server API address for the main interaction within the CLI tool. This is a required field. For local development, use
http://localhost:5000
. - DEFAULT_DIRECTORY: The folder path for artifacts. This is an optional field. You can leave it empty.
- DEFAULT_VAULT_ID: Artifacts should be associated with a project ID. This is an optional field. You can leave it empty.
- DEFAULT_KEY: If the user is not the owner of the project, they are required to provide a security key. This is an optional field. You can leave it empty.
Usage
After installing the dependencies with poetry install
, you can spawn a shell using poetry shell
, or alternatively, use make
:
make shell
kaas-cli hello
kaas-cli --version
To verify the installation, run kaas-cli hello
. If you see the message Hello World!
, the CLI is set up correctly.
Documentation
For detailed usage instructions of the kaas-cli
tool, please refer to the official documentation.
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
File details
Details for the file kaas_cli-0.1.149.tar.gz
.
File metadata
- Download URL: kaas_cli-0.1.149.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3faf98a34efb758113b18b9002e52cb4b6d45b7c5f9c7d8a764d0ab7a9abbdd6 |
|
MD5 | b1c514ef2e5ee4b65b29f583d5e5cef8 |
|
BLAKE2b-256 | 514ec9bffc0e6d7abf689fb5533f750f5da3d2db00e3732c801fa6d861f7a020 |
File details
Details for the file kaas_cli-0.1.149-py3-none-any.whl
.
File metadata
- Download URL: kaas_cli-0.1.149-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc4951a8f52de6d3ba8f873333b1c6d21e60e4efc3f5a349dda089b90b95df07 |
|
MD5 | 6538b1a37d9cb949764f90f60e7403d3 |
|
BLAKE2b-256 | 7702640ed2fa23465cc75c78b4d5bf7b72d0a1c034154acf281abd1b6a1e16e1 |