1 repo
Systems for running cross-cutting logic before or after command execution.
Distinguishing note: Focuses on the middleware pattern for CLI commands specifically.
Explore 1 awesome GitHub repository matching development tools & productivity · Execution Middleware. Refine with filters or upvote what's useful.
Cobra is a development framework for building command-line applications in Go. It organizes application logic into a hierarchical tree structure where each node represents a command, complete with its own flags and execution logic. This structure allows developers to build complex, nested command interfaces that mirror business domains while maintaining a clean separation between command orchestration and underlying business logic. The framework distinguishes itself through its declarative approach to metadata and configuration. It automatically derives help documentation, usage instructions,
Implements cross-cutting concerns like authentication and telemetry through reusable command hooks.