Preparing search index...
The search index is not available
CommanderJSX
CommanderJSX
Command
Class Command<T>
Type Parameters
T
=
any
Hierarchy
Command
Implements
CommandMeta
<
T
>
Index
Constructors
constructor
Properties
children
description
executor?
name
options
parameters
parent?
version
Methods
add
Preset
check
Pattern
execute
get
Parent
Names
replace
Shortcut
show
Help
to
Children
String
to
Option
String
to
String
execute
name
Of
Constructors
constructor
new
Command
<
T
>
(
meta
)
:
Command
<
T
>
Type Parameters
T
=
any
Parameters
meta
:
CommandMeta
<
T
>
Returns
Command
<
T
>
Properties
children
children
:
Command
<
T
>
[]
= []
description
description
:
string
= ''
Optional
executor
executor
?:
Executor
<
T
>
name
name
:
string
= ''
options
options
:
Options
<
T
>
= ...
parameters
parameters
:
string
= ''
Optional
parent
parent
?:
Command
<
T
>
version
version
:
string
= ''
Methods
Protected
add
Preset
add
Preset
(
)
:
void
Returns
void
Protected
check
Pattern
check
Pattern
(
options
)
:
OptionData
<
T
>
Parameters
options
:
OptionData
<
T
>
Returns
OptionData
<
T
>
execute
execute
(
options
,
...
data
)
:
void
Parameters
options
:
OptionData
<
T
>
Rest
...
data
:
Data
[]
Returns
void
get
Parent
Names
get
Parent
Names
(
)
:
Generator
<
string
,
void
,
unknown
>
Returns
Generator
<
string
,
void
,
unknown
>
Protected
replace
Shortcut
replace
Shortcut
(
options
)
:
OptionData
<
T
>
Parameters
options
:
OptionData
<
T
>
Returns
OptionData
<
T
>
show
Help
show
Help
(
command
?
)
:
void
Parameters
Optional
command
:
string
Returns
void
to
Children
String
to
Children
String
(
)
:
string
Returns
string
to
Option
String
to
Option
String
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string
Static
execute
execute
<
T
>
(
command
,
args
)
:
void
Type Parameters
T
Parameters
command
:
Command
<
T
>
args
:
string
[]
Returns
void
Static
name
Of
name
Of
(
meta
,
commandPath
)
:
undefined
|
string
Parameters
meta
:
Record
<
string
,
any
>
commandPath
:
string
Returns
undefined
|
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
children
description
executor
name
options
parameters
parent
version
add
Preset
check
Pattern
execute
get
Parent
Names
replace
Shortcut
show
Help
to
Children
String
to
Option
String
to
String
execute
name
Of
CommanderJSX
Command
Command
Meta
Option
Data
Executor
Option
Data
Options
Primitive
Data
create
Command
create
Table
parse
Arguments
parse
Data
Generated using
TypeDoc