Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkbox ¶
type Checkbox struct { Question string Choices []*Choice CheckedChoice []*Choice // contains filtered or unexported fields }
func NewCheckbox ¶
func NewCheckbox() *Checkbox
func (*Checkbox) RenderChoices ¶
func (*Checkbox) RenderHeader ¶
func (s *Checkbox) RenderHeader()
func (*Checkbox) Run ¶
func (s *Checkbox) Run() ([]CheckboxResult, error)
type CheckboxResult ¶
type Confirm ¶
func NewConfirm ¶
func NewConfirm() *Confirm
type Input ¶
type Select ¶
type Select struct { Question string Choices []*Choice SelectedChoice Choice // contains filtered or unexported fields }
func (*Select) RenderChoices ¶
func (*Select) RenderHeader ¶
func (s *Select) RenderHeader()
func (*Select) Run ¶
func (s *Select) Run() (SelectResult, error)
type SelectResult ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.