carloscuesta/gitmoji-cli

Add shell completions for bash/zsh/fish/posh/etc

Open

#912 aberto em 6 de set. de 2022

Ver no GitHub
 (3 comments) (1 reaction) (0 assignees)JavaScript (219 forks)batch import
featurehelp wanted

Métricas do repositório

Stars
 (4.418 stars)
Métricas de merge de PR
 (Mesclagem média 23d 12h) (3 fundiu PRs em 30d)

Description

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

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

Guia do colaborador