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_URL
that points to cc backend to your.env
fileexport 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
Hashes for cranecloud-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0919df8c9cf7697e06a751f81cc2f4d0d26214f6cf3232026e026c86c55fc8e |
|
MD5 | 3be99febe667c29aca6384d6d9a44575 |
|
BLAKE2b-256 | f2ccc2a09b169155ea2b8fbbbfbc11a8c65e25c5335714ad735e1abc46478c34 |