completion

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompletionHandler

func CompletionHandler(globals startup.Globals) complete.Handler

CompletionHandler dispatches dynamic completion requests routed through `--@complete=<kind>` (clib's predictor mechanism). The shell completion script invokes `jira --@complete=foo -- arg1 arg2` for positional args; this handler emits one candidate per line, optionally `value\tdesc`.

Each predictor name corresponds either to a flag's `clib.FlagExtra{Complete: "predictor=foo"}` or to an entry in a command's `Annotations["clib"]` `dynamic-args='foo,bar'` list.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL