alecthomas / alecthomas/kingpin

Auto completion for partial arguments

Abierto
#159 7 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
3.6k
Forks
279
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm trying to get bash auto completion working for my string arguments based on hints that I'm correctly defining in my app.

"myapp --completion-bash" is correctly returning a list of custom hints I've specified for the argument.

But "myapp a --completion-bash" does not return a subset of the previous list based on which ones match the prefix 'a'. This means that bash won't use tab to auto complete the argument.

Is there a way to achieve the desired behaviour?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.