Nabat
liveA CLI framework for Go with adaptive arguments, interactive prompts, and structured output
Details
Nabat is a Go-based CLI framework built on Cobra that provides typed positional arguments resolving from CLI, environment variables, or interactive prompts. It supports structured output formats (table, JSON, YAML) and includes 12 built-in themes for consistent styling. Features include semantic output helpers, adaptive workflow handling, and extensions for logging and manpage generation.
Best fit users
- •Go developers building CLI tools
- •Teams requiring customizable command-line interfaces
- •Projects needing interactive and non-interactive workflows
Why this one made the cut
It simplifies CLI development by combining declarative configuration, interactive capabilities, and clean output formatting in a single framework. The adaptive resolution reduces boilerplate code for environment-specific logic, while theming ensures consistent UX across different terminals.
What makes it different
Unlike standard CLI frameworks, Nabat provides built-in semantic output coloring and theming support with automatic pipe-friendliness detection. It maintains full compatibility with Cobra's existing features instead of replacing them.