boa

package module
v0.0.0-...-535a33e Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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