charmbracelet / charmbracelet/fang
Listing aliases for a (sub) command
Open
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
### Description
In the CLI I'm building, I have a "list" sub-command with an alias "ls" defined. So something like:
```sh
$ cli repo list
$ cli repo ls
```
However, when I look at the generated help for the list command, I don't see any aliases displayed. It would be nice to have an ALIASES section in the help output.
Contributor guide
Research direction
Start at the generated help output for a sub-command and trace the help-generation path for the command's defined aliases. Use the example `list`/`ls` command to verify the behavior, then confirm that the help for `list` includes an ALIASES section listing `ls`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100