README

boa

An interactive UI based on command and flag library configuration.

Work In Progress.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NopCloser

func NopCloser(w io.Writer) io.WriteCloser

NopCloser returns a WriteCloser with a no-op Close method wrapping the provided Writer w.

func ParseBool

func ParseBool(str string) (bool, error)

ParseBool is strconv.ParseBool with the addition of Yes/No parsing.

func PromptFlagBool

func PromptFlagBool(f *pflag.Flag) (bool, string)

func PromptFlagString

func PromptFlagString(f *pflag.Flag) (bool, string)

func PromptFlags

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

PromptFlags propts for flags.

func PromptNext

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

Types

This section is empty.

Directories

Path Synopsis
bar
foo