@gud/cli
github
Preparing search index...
OptionPromptParams
Type Alias OptionPromptParams<T>
OptionPromptParams
:
Replace
<
PromptParams
<
OptionPromptType
<
T
[
"type"
]
>
,
T
[
"type"
]
>
,
{
client
?:
Client
;
config
?:
T
;
name
:
string
;
onCancel
?:
()
=>
void
;
validate
?:
(
value
?:
OptionConfigPrimitiveType
<
T
>
,
)
=>
MaybePromise
<
boolean
|
string
>
;
}
,
>
Type Parameters
T
extends
OptionConfig
=
OptionConfig
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
github
@gud/cli
Loading...