Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomName ¶
func GenerateRandomName() string
func PromptForConfirmation ¶ added in v0.1.4
PromptForConfirmation requests and checks confirmation from the user. This will display the provided message followed by ' y/N '. If the user input 'y' or 'Y' it returns true otherwise false. If no message is provided, "Are you sure you want to proceed? y/N " will be used instead.
Types ¶
type Cli ¶
type Cli struct { Config *config.Config Out, Err *streams.Out In *streams.In CmdLogger *slog.Logger }
func (*Cli) HostExecutor ¶ added in v0.2.0
type CmdLogHandler ¶ added in v0.1.4
func NewCmdLogHandler ¶ added in v0.1.4
func NewCmdLogHandler( out io.Writer, opts *slog.HandlerOptions, ) *CmdLogHandler
Click to show internal directories.
Click to hide internal directories.