Cranecloud CLI client
Project description
Cranecloud CLI Cleint
Cranecloud CLI client
Setup
-
Create and activate a virtual environment
python3 -m venv venv
-
Install: Run the Cranecloud CLI client setup.
pip install --editable .
-
Add
API_BASE_URLthat points to cc backend to your.envfileexport API_BASE_URL=""
-
Run Cranecloud commands
cranecloud --help
Basic Commands
Authentication and Account Management
-
Login: Authenticate the user with their credentials.
cranecloud login -
Logout: Log out the user, clearing the stored credentials.
cranecloud logout
-
User Information: Retrieve information about the logged-in user.
cranecloud user info
Project Management
-
List Projects: Show a list of projects available in the user's account.
cranecloud projects list
-
Create Project: Create a new project.
cranecloud projects create --name "ProjectName"
-
Delete Project: Delete a project by ID or name.
cranecloud projects delete --id <project_id>
-
Project Details: View detailed information about a project.
cranecloud projects info --id <project_id>
App Commands
-
Deploy App: Initiate a app to a specific environment.
cranecloud apps --project-id <project_id> --environment <env_name>
-
List Apps: Show apps within a project.
cranecloud apps list --project-id <project_id>
-
Rollback App: Roll back to a previous app version.
cranecloud apps rollback --project-id <project_id> --app-id <app_id>
-
App Details: View detailed information about a specific app.
cranecloud apps info --project-id <project_id> --app-id <app_id>
-
Delete App: Delete a app by ID or name.
cranecloud projects delete --id <project_id>
Other Useful Commands
-
Help Information: Show manual.
cranecloud help
-
Support: Contact support or report issues.
cranecloud support
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cranecloud-test-0.0.1.tar.gz.
File metadata
- Download URL: cranecloud-test-0.0.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bce16cb153db0dee9946824d109201416ec91bbedba6d8488689f8cc321df87
|
|
| MD5 |
9622870823731a73bc315aec7f06531a
|
|
| BLAKE2b-256 |
621baae04ddbe751e987a19b9cab650027e6b12f9238104cfcd1478f25d84186
|
File details
Details for the file cranecloud_test-0.0.1-py3-none-any.whl.
File metadata
- Download URL: cranecloud_test-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ada8ae115fac231bc73b4ac9e9bde2de9197bfdd86a46c4085207bfe74c1f6f
|
|
| MD5 |
3839a0881e45210219ad681b2bc510ff
|
|
| BLAKE2b-256 |
e45d307474a9a5bfd0f3b631ff0d54c20bc3d767a5dcfeb25e46ec37d5fcbb83
|