charmbracelet / charmbracelet/fang
Missing input types in flags
Open
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
Flags should have types like cobra. This helps users know what inputs are valid without needing an explicit example
### Setup
OS: Ubuntu 25.04 x86_64
Shell: bash
Terminal: ghostty
Terminal Multiplexer: N/A
### Expected behavior
Cobra:
Expected fang:
Contributor guide
Research direction
Start by locating the Go code that renders flag help and comparing its output with Cobra's typed flag display. Reproduce the issue using the CLI's help output, then verify that flags show the input types users need to understand valid values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100