Chameleon
Preparing search index...
CommandDef
Type Alias CommandDef<O, S>
type
CommandDef
<
O
extends
Record
<
string
,
OptionDef
<
any
,
boolean
>
>
=
Record
<
string
,
never
>
,
S
extends
Record
<
string
,
Subcommand
<
any
>
>
=
Record
<
string
,
never
>
,
>
=
{
name
:
string
;
description
:
string
;
options
?:
O
;
subcommands
?:
S
;
execute
?:
ExecuteFunction
<
O
>
;
}
Type Parameters
O
extends
Record
<
string
,
OptionDef
<
any
,
boolean
>
>
=
Record
<
string
,
never
>
S
extends
Record
<
string
,
Subcommand
<
any
>
>
=
Record
<
string
,
never
>
Index
Properties
name
description
options?
subcommands?
execute?
Properties
name
name
:
string
description
description
:
string
Optional
options
options
?:
O
Optional
subcommands
subcommands
?:
S
Optional
execute
execute
?:
ExecuteFunction
<
O
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
name
description
options
subcommands
execute
Chameleon
Loading...