Entry point for the OpenFrame CLI application that initializes and executes the command-line interface with proper error handling.
- main() - Application entry point that calls the command executor and handles errors
- cmd.Execute() - Delegates to the cmd package for command parsing and execution
- Error handling - Prints errors to stderr and exits with status code 1 on failure
This file serves as the application bootstrap and is not typically imported. When the CLI is built and run:
// Build the CLI
go build -o openframe main.go
// Run commands (examples)
./openframe --help
./openframe init my-project
./openframe deploy --environment productionThe main function acts as a thin wrapper around the cmd package, ensuring any execution errors are properly formatted and cause the application to exit with an appropriate status code for shell scripting and CI/CD integration.