Skip to main content

inedge-cli

Command-line interface for InEdge Cloud. Deploy, manage, and monitor your services from the terminal.

Install

pip install inedge

Quick Start

inedge login                                          # Authenticate via browser
inedge login --token <api-key>                        # CI/CD (non-interactive)
inedge orgs list                                      # List your organizations
inedge orgs switch fastassert                         # Set active org
inedge projects create --name production              # Create a project
inedge projects switch production                     # Set active project
inedge context                                        # Show current org + project

Commands

inedge login [--token <key>]          Log in (browser OAuth or API key)
inedge logout                         Clear stored credentials
inedge auth status                    Show auth state + org + project

inedge orgs list                      List organizations
inedge orgs switch <org>              Switch active org

inedge projects list                  List projects in current org
inedge projects create --name <name>  Create project
inedge projects switch <project>      Switch active project

inedge context                        Show current org + project
inedge context set --org --project    Set context directly

inedge config list                    Show all config values
inedge config set <key> <value>       Set a config value

inedge services list                  List services in current project
inedge services get <id>              Get service details
inedge services create --name <n> --image <img>  Create service
inedge services delete <id> [--yes]   Delete service
inedge services deploy <id> --image <img>  Deploy new image
inedge services scale <id> --replicas <n>  Scale replicas

inedge deployments list <service-id>  List deployment history
inedge deployments rollback <service-id> [--to <dep-id>]  Rollback

inedge registry repos                 List image repositories
inedge registry artifacts <repo>      List artifacts/tags
inedge registry credentials [--github-actions]  Get push credentials

inedge db list                        List databases in current project
inedge db get <id>                    Get database details
inedge db create --name <n> ...       Create managed PostgreSQL database
inedge db delete <id> [--yes]         Delete database
inedge db credentials <id>            Show connection credentials
inedge db connect <id> [--copy]       Get psql connection string
inedge db link <id> --service <svc>   Link database to a service
inedge db unlink <id> --service <svc> Unlink database from a service
inedge db backups <id>                List backups (requires PITR)
inedge db backup <id>                 Create on-demand backup
inedge db restore <id> [--backup|--target-time] [--yes]  Restore database
inedge db metrics <id>                Show database metrics

inedge secrets list                   List secrets in current project
inedge secrets get <key>              Get secret details
inedge secrets set <key> --value <v>  Create or update a secret
inedge secrets delete <key> [--yes]   Delete a secret
inedge secrets import --file <path>   Import secrets from .env file
inedge secrets link <key> --service <svc>    Link secret to service
inedge secrets unlink <key> --service <svc>  Unlink secret from service

inedge env list <service-id>          List env vars for a service
inedge env set <svc> KEY=VALUE ...    Set environment variables
inedge env delete <svc> <key>         Delete an environment variable
inedge env import <svc> --file <path> Import env vars from .env file

All commands support --format json|table for output formatting.

Current Status

Milestone Status Details
M0 — Foundation ✅ Complete Auth, context, orgs, projects commands
M1 — Web Services + Registry ✅ Complete Services CRUD + deploy, deployments, registry commands
M2 — Databases + Secrets ✅ Complete Database CRUD, backups, restore, metrics, secrets, env vars

Configuration

Config is stored at ~/.inedge/config.toml. Auth tokens are stored in the OS keychain via keyring.

inedge config set api-url https://api.inedge.ai/api/v1
inedge config set default-org mycompany
inedge config set default-project production

Development

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
inedge --help

Structure

inedge-cli/
├── src/inedge_cli/
│   ├── __init__.py
│   ├── main.py              # Typer app entry point
│   ├── config.py            # Config management (~/.inedge/config.toml)
│   ├── api_client.py        # HTTP client (httpx) for Cloud API
│   ├── auth.py              # Token management via keyring
│   ├── commands/
│   │   ├── auth.py          # login, logout, auth status
│   │   ├── context.py       # context show, context set
│   │   ├── orgs.py          # orgs list, switch
│   │   ├── projects.py      # projects list, create, switch
│   │   ├── services.py      # services CRUD + deploy (M1)
│   │   ├── deployments.py   # deployments list, rollback (M1)
│   │   ├── registry.py      # registry login, list, tags (M1)
│   │   ├── databases.py     # database CRUD, backups, restore, metrics (M2)
│   │   ├── secrets.py       # secrets CRUD, import, link/unlink (M2)
│   │   └── env.py           # env vars list, set, delete, import (M2)
│   └── utils/
│       ├── output.py        # Rich table / JSON formatting
│       └── errors.py        # User-friendly error handling
├── tests/
├── pyproject.toml
└── README.md

Metadata

Release files for inedge 0.13.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 inedge 0.13.1
File Size Uploaded Provenance Actions
inedge-0.13.1.tar.gz 116.2 kB With provenance Details for inedge-0.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inedge 0.13.1
File Interpreter ABI Platform Actions
inedge-0.13.1-py3-none-any.whl Python 3 none any Details for inedge-0.13.1-py3-none-any.whl

Total release size: 193.7 kB

Release files / inedge-0.13.1.tar.gz

Download URL inedge-0.13.1.tar.gz
Size 116.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a373efeb20f3210f331f68d920b24fbfcec0f9b7fa98ae8db753fbfeaab1ce45
BLAKE2b-256 checksum
How to use checksums
7fa40381ae1647937e2e0bed929194b996653ca4e78bcf51dc0ef22ec5199499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 26, 2026.

Transparency log

Release files / inedge-0.13.1-py3-none-any.whl

Download URL inedge-0.13.1-py3-none-any.whl
Size 77.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56f129011336773e00dca015210057eab070fb55a98d8e21785fac5a1dc58cc7
BLAKE2b-256 checksum
How to use checksums
f67960b09e2e27173838121067708c25ac08bb6621dcbeb386c3742992af46a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 26, 2026.

Transparency log

Security for inedge 0.13.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for inedge-0.13.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 26, 2026.

Transparency log

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.13.1 This release

2 release files Full 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