Documentation
¶
Index ¶
- func NewConfirm(ops ...confirm.Option) *confirm.Confirm
- func NewConfirmWithSelection(ops ...cs.Option) *cs.Confirm
- func NewMultiSelect(choices []string, ops ...multiselect.Option) *multiselect.Select
- func NewProgressGroup(processCnt int) *progress.Group
- func NewSingleSelect(choices []string, ops ...singleselect.Option) *singleselect.Select
- func NewSpinner(ops ...spinner.Option) *spinner.Spinner
- func NewText(ops ...text.Option) *text.Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfirmWithSelection ¶
NewConfirmWithSelection new confirm with Selection
func NewMultiSelect ¶
func NewMultiSelect(choices []string, ops ...multiselect.Option) *multiselect.Select
NewMultiSelect new multi select
func NewProgressGroup ¶
NewProgressGroup new progress group with count.
func NewSingleSelect ¶
func NewSingleSelect(choices []string, ops ...singleselect.Option) *singleselect.Select
NewSingleSelect new single select
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
_examples
|
|
autocomplete
command
|
|
autocomplete_path
command
|
|
combine_progress_spinner
command
|
|
confirm
command
|
|
confirm_selection
command
|
|
demo
command
|
|
emoji
command
|
|
input
command
|
|
keyprint
command
|
|
list
command
|
|
mutil_select
command
|
|
print
command
|
|
progress
command
|
|
progress_group
command
|
|
progress_test
command
|
|
progress_trans
command
|
|
single_select
command
|
|
spinner
command
|
|
spinner_timer
command
|
|
style
command
|
|
pkg
|
|
Click to show internal directories.
Click to hide internal directories.