Clue2App CLI
Command-line interface for the Clue2App platform
Install
pip install clue2app-cli
Requires Python 3.10+. Verify with c2a --version.
Quick Start
# Login to your account
c2a login
# Check status
c2a status
# List your projects
c2a project list
# Select a project
c2a project use MyProject
# List apps in current project
c2a app list
# Deploy an app from GitHub
c2a app create my-app --git-url https://github.com/user/repo
# View app logs
c2a logs show my-app
# Rebuild an app
c2a rebuild my-app
Key Commands
| Command | Description |
|---|---|
c2a login |
Authenticate with Clue2App |
c2a status |
Show CLI and auth status |
c2a project list |
List all projects |
c2a project use <name> |
Set active project |
c2a app list |
List apps in current project |
c2a app create <name> --git-url <url> |
Deploy a new app from a Git repo |
c2a logs show <app> |
View application logs (--build for build logs, -f to follow) |
c2a build logs <app> |
View latest build logs for an app |
c2a rebuild <app> |
Trigger app rebuild |
c2a env set <app> KEY=value |
Set environment variables |
c2a secrets create -n <name> -u <user> -p <token> |
Create a git credential secret |
c2a user invite -e <email> -A <account_uuid> -P <project_uuid> -r <role> |
Invite a project member via the invitations flow (SCK-625) |
c2a llm list / c2a llm create / c2a llm bind <app> <secret> |
Manage LLM Gateway bindings (see Daari LLM) |
c2a daari secrets list / bind <app> <secret> |
Manage Daari service bindings (see Daari) |
Inviting a project member (SCK-625)
Pass -A <account_uuid> to route through the invitations service
(POST /api/v1/invitations/project-member, backed by SCK-622). The
new endpoint mints an invitation row, sends the redemption email by
default, and returns a redemption URL the CLI prints:
# Server sends the invitation email (default delivery).
c2a user invite -e alice@corp.com -A <account_uuid> -P <project_uuid> -r CONTRIBUTOR
# --copy-only skips the email; hand-deliver the printed URL yourself.
c2a user invite -e alice@corp.com -A <account_uuid> -P <project_uuid> -r VIEWER --copy-only
-r accepts VIEWER, CONTRIBUTOR, or PROJECT_ADMIN. Without
-A, c2a user invite keeps its legacy behaviour (invite-with-
project-grants via /api/accounts/{id}/members, or the LOCAL user
create flow with -u/-p).
Configuration
Config files are stored in ~/.c2a/:
config.toml- CLI settingscredentials.json- Authentication tokens
Override the API base URL (or any other config key) with c2a config set:
c2a config set api.base_url https://custom-api.example.com
Documentation
For complete documentation, guides, and tutorials:
Agents
Clue2App includes specialized agents that help manage your applications:
| Agent | Purpose |
|---|---|
| Deployment | Deploy, rebuild, and manage application lifecycle |
| Cleanup | Remove orphaned resources and maintain clean infrastructure |
| System Health | Detect anomalies and report system issues |
| Audit | Track all operations with full audit trail and rollback support |
Each agent has a single responsibility and they work together to keep your platform healthy.
MCP Server Integration
Use Clue2App with AI assistants (Claude Code, Cursor, Claude Desktop):
pip install clue2app-mcp
See MCP Quick Start for setup instructions.
Development
# Clone and install in dev mode
git clone https://github.com/clue2solve/clue2app-cli.git
cd clue2app-cli
pip install -e ".[dev]"
# Run tests
pytest
# Build executable
pip install -e ".[build]"
make build
Support
- Documentation: clue2app.ai/docs
- Issues: GitHub Issues
License
MIT License - see LICENSE for details.
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 clue2app_cli-0.3.0.tar.gz.
File metadata
- Download URL: clue2app_cli-0.3.0.tar.gz
- Upload date:
- Size: 171.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb85ad7c6397e52d06e4f7b09ebebf92e57196fca3496dfdf66c6fccf55d9cc5
|
|
| MD5 |
5652ca72f0d6724c37010c314f4bdccc
|
|
| BLAKE2b-256 |
3056a362803e918da963318d32cbc04a315a3261537ed257d1e968603de8e38f
|
File details
Details for the file clue2app_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: clue2app_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 179.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cefe61aeb5630282a7a32523b6601cbb7505a9abd245d886ad830f3432c3c869
|
|
| MD5 |
948d47be526ae6e0e313d9e03a873361
|
|
| BLAKE2b-256 |
835e5ab6a7f36bde0fb1472a85d5f079e10b536aeda2362dc2877d5270f11ee1
|