openframe-cli README

The project's README from github.com/flamingo-stack/openframe-cli. As one markdown file: README.md.

OpenFrame

License

OpenFrame CLI

OpenFrame CLI (openframe) is the Go-based command-line tool that bootstraps and manages the lifecycle of the OpenFrame platform by Flamingo. It provisions Kubernetes clusters — locally via k3d, or in the cloud via GKE/EKS through Terraform — and deploys the OpenFrame platform onto them using ArgoCD's app-of-apps pattern. It also handles prerequisites, status monitoring, upgrades, teardown, and its own self-update, with both interactive wizards and non-interactive flags for CI/automation.

The platform's application code itself lives in a separate repository, flamingo-stack/openframe-oss-tenant, which this CLI clones and deploys onto the clusters it provisions.

Per the organization's dependency graph, this repository publishes a single Go module artifact — github.com/flamingo-stack/openframe-cli — with no recorded upstream dependencies and no downstream consumers among internally-published artifacts. It is a standalone, user-facing CLI binary distributed via GitHub Releases and go install, not a library consumed by other repositories.

Features

Architecture

The CLI is organized around three core abstractions — cluster (provisioning), app (platform deployment via ArgoCD), and prerequisites (tool verification/installation) — plus shared infrastructure for UI, command execution, verified downloads, and self-update.

graph TB
    subgraph CliLayer["CLI Layer"]
        Bootstrap[bootstrap]
        Cluster[cluster]
        App[app]
        Prereq[prerequisites]
        Update[update]
    end

    subgraph Domain["Domain Services"]
        ClusterSvc["cluster.ClusterService"]
        ChartSvc["chart.services.ChartService"]
        AppStatus["app/status.Service"]
        PrereqFw["prerequisites.Runner"]
        SelfUpdate["selfupdate.Updater"]
    end

    subgraph Providers["Providers"]
        K3d["k3d provider"]
        EKS["EKS provider (terraform)"]
        GKE["GKE provider (terraform)"]
        ArgoCD["ArgoCD provider"]
        Helm["Helm provider"]
    end

    subgraph External["External Systems"]
        Docker[("Docker")]
        K8sAPI[("Kubernetes API")]
        CloudAPI[("GCP / AWS APIs")]
        GitHub[("GitHub Releases")]
    end

    Bootstrap --> ClusterSvc
    Bootstrap --> ChartSvc
    Cluster --> ClusterSvc
    App --> ChartSvc
    App --> AppStatus
    Prereq --> PrereqFw
    Update --> SelfUpdate

    ClusterSvc --> K3d
    ClusterSvc --> EKS
    ClusterSvc --> GKE
    ChartSvc --> ArgoCD
    ChartSvc --> Helm

    K3d --> Docker
    EKS --> CloudAPI
    GKE --> CloudAPI
    ArgoCD --> K8sAPI
    Helm --> K8sAPI
    SelfUpdate --> GitHub

The platform this CLI deploys — the app-of-apps chart and its underlying services — lives in the separate flamingo-stack/openframe-oss-tenant repository, cloned at install/upgrade time.

Technology stack

At runtime the CLI also shells out to Docker, k3d, Helm, Terraform, gcloud, and the AWS CLI. Binaries for k3d, Helm, mkcert, Terraform, and infracost are downloaded by the CLI itself, pinned to exact versions and checksum-verified before use.

Hardware requirements

Resource Minimum Recommended
RAM 24 GB 32 GB
CPU Cores 6 12
Disk Space 50 GB 100 GB

Quick Start

1. Install the CLI

macOS/Linux — download the appropriate binary from the Releases page, or build from source with Go:

go install github.com/flamingo-stack/openframe-cli@latest

Windows — download the AMD64 build directly:

https://github.com/flamingo-stack/openframe-cli/releases/latest/download/openframe-cli_windows_amd64.zip

Run the installer the same way you would on other operating systems. On Windows, the native build re-executes itself inside WSL2 before any cluster command runs.

Confirm the binary is on your $PATH and runs:

openframe --help

2. Check prerequisites

openframe prerequisites check
openframe prerequisites install

3. Bootstrap the platform

openframe bootstrap

Running it with no arguments starts an interactive flow that creates a local k3d cluster and installs the full platform (ArgoCD plus the app-of-apps). You can also name the cluster explicitly:

openframe bootstrap my-cluster

For CI/automation:

openframe bootstrap --non-interactive

4. Check status and access the platform

openframe app status
openframe app access

openframe app status reports cluster reachability plus each ArgoCD application's sync/health state. openframe app access prints the ArgoCD admin credentials (read live from your cluster) and the port-forward command needed to reach the UI.

CLI Commands

openframe bootstrap                    # k3d cluster + platform install in one step
openframe cluster create|delete|list|status|use|cleanup
openframe app install|upgrade|status|access|uninstall
openframe prerequisites check|install
openframe update [version]|check|rollback

Documentation

📚 See the Documentation for comprehensive guides, including:

This project does not use GitHub Issues or GitHub Discussions. Community support happens on the OpenMSP Slack community.


Built with 💛 by the Flamingo team

openframe-cli (flamingo-stack/openframe-cli)

Searching Database…

What is this?An interactive command-line tool for managing OpenFrame Kubernetes clusters and development workflows — cluster lifecycle, chart installs via ArgoCD, service intercepts and scaffolding.
Is this a full platform, or just a CLI wrapper around existing tools?It is the entry point to the OpenFrame ecosystem, an AI-powered MSP platform built on open-source alternatives. The CLI itself orchestrates standard tools: K3D, ArgoCD, Helm, Telepresence.
How do I get it running?Download the binary for your platform (Linux AMD64, macOS Apple Silicon or Windows via WSL2), put it on your PATH, then run 'openframe bootstrap' to spin up a whole environment in one command.
Do I need Docker and kubectl already installed?Yes: Docker 20.10+, kubectl 1.25+, Helm 3.10+ and K3D 5.0+. The CLI can check and install the missing ones for you via 'openframe prerequisites install'.
What kind of machine does this thing need?A beefy one: minimum 24GB RAM, 6 CPU cores and 50GB free disk (32GB, 12 cores and 100GB recommended). macOS builds are Apple Silicon only, and Windows runs it through WSL2.
What exactly does openframe bootstrap deploy?A K3D Kubernetes cluster with the public openframe-oss-tenant chart deployed through ArgoCD, plus the Traefik ingress controller and core monitoring and logging components — no credentials needed.
Is it actually open source?Not in the usual sense: it ships under the custom Flamingo AI Unified License v1.0 rather than a standard open-source license, so read LICENSE.md to see what usage it permits.
How does it help me develop services that live inside the cluster?It integrates Telepresence for service intercepts, so a service running in Kubernetes can be debugged from your local machine, with hot reload for fast edit-test cycles.
Can it manage real cloud clusters, not just local K3D ones?Yes — 'openframe cluster create' supports both local K3D clusters and cloud clusters on EKS or GKE, and 'cluster list/status' report on them, with JSON output via -o json.
What does it look like while a long command runs?On an interactive terminal it renders a stage checklist with per-stage timings, an in-place dashboard with per-app health during waits, and a desktop notification when a long install finishes.
Does it behave well in GitHub Actions pipelines?Yes: bootstrap stages fold into log groups, failures become job annotations and a summary lands in the Step Summary. Flags like --non-interactive, --yes and --force make every command scriptable.
What happens when the CLI updates itself?'openframe update' verifies each release with checksums and cosign signatures before replacing the running binary, and keeps the previous version for rollback.
Size
106 MB
Stars
723
Age
1y
Commits · 90 Days