Skip to main content

Clue2App CLI

Command-line interface for the Clue2App platform

Python 3.8+ License: MIT Tests Release

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 settings
  • credentials.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:

https://clue2app.ai/docs

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

License

MIT License - see LICENSE for details.

Metadata

Release files for clue2app-cli 0.3.0

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

Source distribution (sdist)

Source distribution for clue2app-cli 0.3.0
File Size Uploaded Provenance Actions
clue2app_cli-0.3.0.tar.gz 171.8 kB Without provenance Details for clue2app_cli-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clue2app-cli 0.3.0
File Interpreter ABI Platform Actions
clue2app_cli-0.3.0-py3-none-any.whl Python 3 none any Details for clue2app_cli-0.3.0-py3-none-any.whl

Total release size: 350.9 kB

Release files / clue2app_cli-0.3.0.tar.gz

Download URL clue2app_cli-0.3.0.tar.gz
Size 171.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eb85ad7c6397e52d06e4f7b09ebebf92e57196fca3496dfdf66c6fccf55d9cc5
BLAKE2b-256 checksum
How to use checksums
3056a362803e918da963318d32cbc04a315a3261537ed257d1e968603de8e38f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / clue2app_cli-0.3.0-py3-none-any.whl

Download URL clue2app_cli-0.3.0-py3-none-any.whl
Size 179.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cefe61aeb5630282a7a32523b6601cbb7505a9abd245d886ad830f3432c3c869
BLAKE2b-256 checksum
How to use checksums
835e5ab6a7f36bde0fb1472a85d5f079e10b536aeda2362dc2877d5270f11ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Security for clue2app-cli 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

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