Comprehensive guides and references for the OpenFrame platform
This section contains comprehensive guides for developing with and contributing to OpenFrame CLI. Whether you're setting up a development environment, understanding the architecture, or contributing code, these guides will help you get started.
Understanding how OpenFrame CLI is structured and how its components interact:
Get your development environment ready:
Security best practices and guidelines:
Comprehensive testing approaches:
Guidelines for contributing to the project:
If you're new to OpenFrame CLI development, start here:
Jump to specific areas:
Focus on deployment and operational aspects:
flowchart TD
A[Fork Repository] --> B[Setup Dev Environment]
B --> C[Create Feature Branch]
C --> D[Write Code & Tests]
D --> E[Run Local Tests]
E --> F{Tests Pass?}
F -->|No| D
F -->|Yes| G[Commit Changes]
G --> H[Push to Fork]
H --> I[Create Pull Request]
I --> J[Code Review]
J --> K{Review Approved?}
K -->|No| D
K -->|Yes| L[Merge to Main]
L --> M[CI/CD Pipeline]
M --> N[Deploy & Test]
OpenFrame CLI is built with:
| Technology | Purpose | Version |
|---|---|---|
| Go | Primary language | 1.24.6+ |
| Cobra | CLI framework | v1.8.1+ |
| Kubernetes | Container orchestration | v1.31.2+ |
| K3D | Local Kubernetes clusters | v5.0+ |
| Helm | Package management | v3.10+ |
| ArgoCD | GitOps deployments | v2.14+ |
| Telepresence | Service intercepts | v2.10+ |
openframe-cli/
โโโ cmd/ # CLI command definitions
โ โโโ bootstrap/ # Bootstrap command
โ โโโ cluster/ # Cluster management commands
โ โโโ chart/ # Chart installation commands
โ โโโ dev/ # Development workflow commands
โ โโโ root.go # Root command setup
โโโ internal/ # Internal packages
โ โโโ bootstrap/ # Bootstrap orchestration
โ โโโ cluster/ # Cluster lifecycle management
โ โโโ chart/ # Chart and ArgoCD integration
โ โโโ dev/ # Development tools
โ โโโ shared/ # Common utilities
โโโ tests/ # Test suites
โ โโโ integration/ # Integration tests
โ โโโ mocks/ # Test mocks
โ โโโ testutil/ # Test utilities
โโโ docs/ # Documentation
โโโ examples/ # Usage examples
โโโ scripts/ # Build and utility scripts
โโโ go.mod # Go module definition
โโโ go.sum # Go dependency checksums
โโโ main.go # Application entry point
Before diving into development, ensure you have:
We welcome contributions! Here's how to get involved:
Ready to start developing? Choose your path: