A CLI tool for managing cloud infrastructure deployments and configurations with Cased.
- Python 3.12 or higher
- uv package manager
- A Cased account
curl -LsSf https://astral.sh/uv/install.sh | sh
You can install the CLI from the PyPI repository:
uv pip install cased-cli
Or you can install the CLI from the source code:
- Clone the repository:
git clone https://github.com/cased/cli
cd cli
- Create and activate a virtual environment:
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
- Install dependencies:
uv pip install -r requirements.txt
- Install the CLI in development mode:
uv pip install -e .
After installation, explore the CLI with the cased
command:
cased --help
cased branches
- Display active branchescased build
- Generate a GitHub Actions workflow based on the configurationcased deploy
- Deploy a branch to a target environmentcased deployments
- Display recent deploymentscased init
- Initialize a new project configuration (alpha)cased login
- Log in to the Cased systemcased logout
- Log out from your Cased accountcased projects
- Display and select Cased projectscased targets
- Display target environments
For detailed help on any command:
cased COMMAND --help
The CLI stores configuration in ~/.cased/config/env
. You can configure:
- API authentication
- Organization settings
- Project configurations
CASED_API_AUTH_KEY
- Your API authentication keyCASED_ORG_ID
- Your organization IDCASED_ORG_NAME
- Your organization nameCASED_BASE_URL
- API base URL (defaults to https://app.cased.com)
For issues and feature requests, please open an issue on GitHub.
MIT