Documentation
Preparing search index...
@quatrain/cli
askChoice
Function askChoice
askChoice
<
T
=
string
>
(
message
:
string
,
choices
:
(
string
|
{
name
:
string
;
value
:
T
}
)
[]
,
)
:
Promise
<
T
>
Prompt the user to select from a list of choices.
Type Parameters
T
=
string
Parameters
message
:
string
choices
: (
string
|
{
name
:
string
;
value
:
T
}
)
[]
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Prompt the user to select from a list of choices.