Skip to main content

Cranecloud CLI Cleint

Cranecloud CLI client

Setup

  1. Create and activate a virtual environment

    python3 -m venv venv
    
  2. Install: Run the Cranecloud CLI client setup.

    pip install --editable .
    
  3. Add API_BASE_URL that points to cc backend to your .env file

    export API_BASE_URL=""
    
  4. Run Cranecloud commands

    cranecloud --help
    

Basic Commands

Authentication and Account Management

  1. Login: Authenticate the user with their credentials.

    cranecloud login
    
  2. Logout: Log out the user, clearing the stored credentials.

    cranecloud logout
    
  3. User Information: Retrieve information about the logged-in user.

    cranecloud user info
    

Project Management

  1. List Projects: Show a list of projects available in the user's account.

    cranecloud projects list
    
  2. Create Project: Create a new project.

    cranecloud projects create --name "ProjectName"
    
  3. Delete Project: Delete a project by ID or name.

    cranecloud projects delete --id <project_id>
    
  4. Project Details: View detailed information about a project.

    cranecloud projects info --id <project_id>
    

App Commands

  1. Deploy App: Initiate a app to a specific environment.

    cranecloud apps --project-id <project_id> --environment <env_name>
    
  2. List Apps: Show apps within a project.

    cranecloud apps list --project-id <project_id>
    
  3. Rollback App: Roll back to a previous app version.

    cranecloud apps rollback --project-id <project_id> --app-id <app_id>
    
  4. App Details: View detailed information about a specific app.

    cranecloud apps info --project-id <project_id> --app-id <app_id>
    
  5. Delete App: Delete a app by ID or name.

    cranecloud projects delete --id <project_id>
    

Other Useful Commands

  1. Help Information: Show manual.

    cranecloud help
    
  2. Support: Contact support or report issues.

    cranecloud support
    

Metadata

Release files for cranecloud-test 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cranecloud-test 0.0.1
File Size Uploaded
cranecloud-test-0.0.1.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cranecloud-test 0.0.1
File Interpreter ABI Platform
cranecloud_test-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.9 kB

Release files / cranecloud-test-0.0.1.tar.gz

Download URL cranecloud-test-0.0.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5bce16cb153db0dee9946824d109201416ec91bbedba6d8488689f8cc321df87
BLAKE2b-256 checksum
How to use checksums
621baae04ddbe751e987a19b9cab650027e6b12f9238104cfcd1478f25d84186
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / cranecloud_test-0.0.1-py3-none-any.whl

Download URL cranecloud_test-0.0.1-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ada8ae115fac231bc73b4ac9e9bde2de9197bfdd86a46c4085207bfe74c1f6f
BLAKE2b-256 checksum
How to use checksums
e45d307474a9a5bfd0f3b631ff0d54c20bc3d767a5dcfeb25e46ec37d5fcbb83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page