Versions in this module Expand all Collapse all v0 v0.1.0 Oct 5, 2024 Changes in this version + func Run(parser *kong.Kong, opts ...Option) + type Args struct + Completed []string + Last string + func (as Args) String() string + type Command struct + Shell string + func (cmd *Command) Run(kctx *kong.Context) (err error) + type Option func(*options) + func WithPredictor(name string, predictor Predictor) Option + func WithTransformCompleted(fn func([]string) []string) Option + type PredictFunc func(Args) []string + func (f PredictFunc) Predict(cargs Args) []string + type Predictor interface + Predict func(Args) []string