CLI for the Griptape Framework and Cloud
Project description
griptape-cli
CLI for the Griptape Framework and Cloud.
Prerequisites
CLI cloud
commands require a Griptape Cloud account.
Quick Start
- Install griptape-cli
pipx install griptape-cli
- Verify installation
gt --help
Griptape Cloud
Configure the Cloud:
poetry run gt cloud configure
Use the cloud command to make API calls:
poetry run gt cloud list-organizations
Create an App from the template using the app command:
poetry run gt app new --directory ~/workplace demo_app
Test an App locally:
poetry run gt app run --directory ~/workplace/demo_app --arg "what is griptape?" --init-param "key" "value"
Create an App on the Cloud:
poetry run gt cloud create-app --name "Demo App"
Create a Deployment for the App on the Cloud using the App ID:
poetry run gt cloud create-deployment --app-id 12345678-9e29-4759-b357-dc513821c5b2 --directory ~/workplace/demo_app
Run an App on the Cloud using the App ID:
poetry run gt cloud run --app-id 12345678-9e29-4759-b357-dc513821c5b2 --arg "what is griptape?" --init-param "key" "value"
Documentation
Please refer to Griptape Docs
Development
poetry install
poetry run gt
Tests
poetry run pytest
Contributing
Thank you for considering contributing to Griptape! Before you start, please read the following guidelines.
Submitting Issues
If you have identified a bug, want to propose a new feature, or have a question, please submit an issue through our public issue tracker. Before submitting a new issue, please check the existing issues to ensure it hasn't been reported or discussed before.
Versioning
Griptape CLI is in constant development and its APIs and documentation are subject to change. Until we stabilize the API and release version 1.0.0, we will use minor versions (i.e., x.Y.z) to introduce features and breaking features, and patch versions (i.e., x.y.Z) for bug fixes.
License
Griptape CLI is available under the Apache 2.0 License.
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
Built Distribution
File details
Details for the file griptape_cli-0.4.0.tar.gz
.
File metadata
- Download URL: griptape_cli-0.4.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fffbbd7ccd3e6fb45eedd80b8359e56a7de17748335a4fbf12ff19265329a1a8 |
|
MD5 | 957c7183878b4685a8308e7820debd9d |
|
BLAKE2b-256 | d7860d9aeba9f95e413539774cc72e97d54fb72b4fadad36e3a157c3d7228b3a |
File details
Details for the file griptape_cli-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: griptape_cli-0.4.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45f0c246a7eb00c90dbebafc174ac6fc00b45acbb4bf3aa2062a1a2a478aee4 |
|
MD5 | f844df8be8ddd3a571f6aa8dde130408 |
|
BLAKE2b-256 | 099abeedf89f8137d706876aa52b48fb4894a0f4971cfd07ec53e9fbbad25b00 |