Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interactive ¶
type Interactive struct {
// contains filtered or unexported fields
}
Interactive will prompt a user
func NewInteractive ¶
func NewInteractive() *Interactive
NewInteractive will create a interactive ui object
func (*Interactive) Prompt ¶
func (i *Interactive) Prompt(msg, recipient, method string) bool
Prompt will give the user `msg` and prompt for confirmation
Click to show internal directories.
Click to hide internal directories.