cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetFoodDynamic = func(annotationValue string) []prompt.Suggest {
	if annotationValue != getFoodDynamicAnnotationValue {
		return nil
	}

	return []prompt.Suggest{
		{Text: "apple", Description: "Green apple"},
		{Text: "tomato", Description: "Red tomato"},
	}
}
View Source
var RootCmd = &cobra.Command{
	Use:           "cobra-prompt",
	SilenceUsage:  true,
	SilenceErrors: true,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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