Knowledge Hub
Comprehensive guides and references for the OpenFrame platform
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: