Define a Go struct. Get a CLI that an agent can discover, call, sandbox, and debug. Flags, env vars, config files, validation, JSON Schema, MCP, structured errors, and WASM. Built on Cobra.
- cli
- cobra
- flags
- viper
47,133 repositories indexed
25–32 of 32 · Most stars
Define a Go struct. Get a CLI that an agent can discover, call, sandbox, and debug. Flags, env vars, config files, validation, JSON Schema, MCP, structured errors, and WASM. Built on Cobra.
FlashFlags is an ultra-fast, zero-dependency, lock-free command-line flag parsing library for Go. Originally built for Argus, it provides great performance while maintaining simplicity and ease of use.
Go minimalist typed environment variables library
Provides a type for working with optional variables, fields in structures, functions and database models.
A GraphQL executable document fingerprint hasher and API proxy to compare queries without formatting diffs, comments, variables and input values.
An environment variable utility package
Generic one-liners to work with variables, slices and maps
⚙️ Golang config manager. Control your configurations using tags, unmarshal to structs, implement and inject your own value providers and parsers.