Documentation
¶
Index ¶
- func GetOrPromptContexts(context yey.Context, argNames []string, lastNames []string) ([]string, error)
- func LoadLastNames() ([]string, error)
- func NewRoot() *cobra.Command
- func PromptContainers(containers []string, otherContainers []string, message string) ([]string, error)
- func PromptImagesAndPlatforms(allImages []yey.ImageAndPlatform) ([]yey.ImageAndPlatform, error)
- func SaveLastNames(names []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOrPromptContexts ¶ added in v0.3.0
func GetOrPromptContexts(context yey.Context, argNames []string, lastNames []string) ([]string, error)
GetOrPromptContexts parses given value into context name and variant and, as needed, prompt user for those values
func LoadLastNames ¶ added in v0.2.0
LoadLastNames loads from home dir the context names that were last selected by user
func PromptContainers ¶ added in v0.3.0
func PromptContainers(containers []string, otherContainers []string, message string) ([]string, error)
PromptContainers prompts user to multi-select among given containers and optionally also other containers (which are displayed in yellow)
func PromptImagesAndPlatforms ¶ added in v0.5.1
func PromptImagesAndPlatforms(allImages []yey.ImageAndPlatform) ([]yey.ImageAndPlatform, error)
PromptImagesAndPlatforms prompts user to multi-select among given images
func SaveLastNames ¶ added in v0.2.0
SaveLastNames saves to home dir the context names that were last selected by user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.