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.
Click to show internal directories.
Click to hide internal directories.