What problem does it solve?
Starting a new Go command-line tool often wastes time on repetitive boilerplate for commands, configuration, logging, releases, and basic project structure.
Core Features & Use Cases
- Cobra command scaffold: Generates a root command plus stubs for requested subcommands so you can implement behavior quickly.
- Viper configuration wiring: Sets up a config-file workflow plus environment variable support using an app-derived ENV_PREFIX.
- slog structured logging: Adds configurable text/JSON logging with a verbose/debug option.
- Developer-ready project skeleton: Creates justfile and release configuration (goreleaser) and initializes git/build sanity checks.
- Use case: Build a maintainable internal tool that supports multiple commands (for example: serve, init, sync) with consistent logging and configurable settings.
Quick Start
Ask: "bootstrap go cli for my-tool, module path github.com/acme/my-tool, with subcommands serve init sync".