github.com/coxley/complete
Package complete provides a library for writing shell-agnostic tab completion. Full documentation is located in the README. Otherwise, follow the below examples and API docs to get started! Barebones tab completion for a very naive 'cp' program Barebones tab completion for a very naive 'git' program Cobra commands can be given directly into [cmpcobra.New] to generate a skeleton for you. Individual flags and commmands can have their prediction logic overriden. CLI that returns information about a service, but the information available changes depending on the type of service. Dynamic tab completion can take into account other arguments to influence suggestions. In this case, we change the --field recommendations based on the service positional argument.
proxy.golang.org
v0.1.5
over 1 year ago
6
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/coxley/complete
spec |
| License | MIT |
| Namespace | github.com/coxley |
| First Release | over 1 year ago |
| Last Synced | 5 days ago |