featurehelp wanted
倉庫指標
- Star
- (4,418 star)
- PR 合併指標
- (平均合併 23天 12小時) (30 天內合併 3 個 PR)
描述
Description of the problem
❯ gitmoji -<TAB>
option
-c Interactively commit using the prompts
--commit Interactively commit using the prompts
--config Setup gitmoji-cli preferences.
-g Setup gitmoji-cli preferences.
-i Initialize gitmoji as a commit hook
--init Initialize gitmoji as a commit hook
--list List all the available gitmojis
...
Solution
I guess in javascript there exists a library to generate shell completions automatically like
- https://docs.iterative.ai/shtab/use/#library-usage
- https://click.palletsprojects.com/en/8.1.x/shell-completion/
- https://docs.rs/clap_complete/latest/clap_complete/
- https://jmtirado.net/shell-completion-with-cobra-and-go/
Alternatives
Don't use any library, like https://github.com/ytdl-org/youtube-dl/blob/master/devscripts or https://github.com/ogham/exa/tree/master/completions?
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue requesting the same feature.