prompt

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PromptDir added in v0.13.0

func PromptDir(cmd *cobra.Command, prompt string, mustExist bool) (string, error)

func PromptForMonorepoApps added in v0.13.0

func PromptForMonorepoApps(cmd *cobra.Command) ([]string, error)

func PromptPassword

func PromptPassword(cmd *cobra.Command, prompt string) (string, error)

func PromptString

func PromptString(cmd *cobra.Command, prompt string) (string, error)

Types

type Response

type Response struct {
	Confirmed bool
	IsFlag    bool
}

func PromptYesNo

func PromptYesNo(cmd *cobra.Command, prompt string, defaultValue bool) Response

Jump to

Keyboard shortcuts

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