Cased CLI is a powerful command-line tool designed to streamline your DevOps workflows and simplify the deployment process. It provides a seamless interface for managing branches, deployments, and project configurations while integrating smoothly with Cased web app.

What is Cased CLI?

Cased CLI serves as your central command center for managing deployments and DevOps operations. It bridges the gap between your development workflow and deployment processes, offering:

  • Target and environment specific deployments
  • Resource management and deployment tracking
  • Project configuration management
  • [Beta version] Automated GitHub Actions workflow generation

Key Benefits

Streamlined Deployment Process

Manage your deployments with simple commands, reducing the complexity of deploying to different environments and keeping track of deployment status.

Centralized Project Management

Keep all your project configurations in one place and easily switch between different projects and environments.

Better Visibility

Track active branches and recent deployments with ease, providing better visibility into your deployment pipeline and project status.

Getting Started

Prerequisites

  • Sign up at Cased
  • Git installed on your local machine
  • Basic familiarity with command-line operations

Installation Process

  1. Create your first project here.

  2. Clone the Cased CLI repository and install locally:

    git clone https://github.com/cased/cli.git
    cd cli
    
    pip install .
    
  3. Log in to your Cased account using:

    cased login
    

    Note that you will need your organization name (case sensitive) and api key to log in, you can find them in settings.

    Once logged in, you will be automatically prompted to select a project you are working on:

    For security best practices, we also recommend logging out after you are done, you can do so by:

    cased logout
    

Next Steps

After installation, you can:

  • View your resources using cased [RESOURCE NAME]
  • Switch working projects using cased projects
  • Create your first deployment using cased deploy

Check out our detailed command reference guides to learn more about each available command and its options.