Preparing search index...
The search index is not available
node-command-alias
node-command-alias
internal/nca-command-module
NcaCommandModule
Class NcaCommandModule<T>
Type Parameters
T
=
AnyObj
Index
Constructors
constructor
Properties
_command
Description
_command
Name
_handler
_option
Params
_positional
Arguments
_sub
Commands
Accessors
command
Description
command
Name
handler
option
Params
positional
Arguments
sub
Commands
Constructors
constructor
new
Nca
Command
Module
<
T
>
(
commandName
,
commandDescription
,
optionParams
?
,
positionalArguments
?
,
subCommands
?
,
handler
?
)
:
NcaCommandModule
<
T
>
Type Parameters
T
=
AnyObj
Parameters
commandName
:
string
commandDescription
:
string
optionParams
:
OptionParam
[]
= []
positionalArguments
:
PositionalArgument
[]
= []
subCommands
:
NcaCommandModule
<
AnyObj
>
[]
= []
handler
:
(
(
args
)
=>
void
)
= ...
(
args
)
:
void
Parameters
args
:
ArgumentsCamelCase
<
T
>
Returns
void
Returns
NcaCommandModule
<
T
>
Properties
Private
Readonly
_command
Description
_command
Description
:
string
Private
Readonly
_command
Name
_command
Name
:
string
Private
Readonly
_handler
_handler
:
(
(
args
)
=>
void
)
Type declaration
(
args
)
:
void
Parameters
args
:
ArgumentsCamelCase
<
T
>
Returns
void
Private
Readonly
_option
Params
_option
Params
:
OptionParam
[]
Private
Readonly
_positional
Arguments
_positional
Arguments
:
PositionalArgument
[]
Private
Readonly
_sub
Commands
_sub
Commands
:
NcaCommandModule
<
AnyObj
>
[]
Accessors
command
Description
get
commandDescription
(
)
:
string
Returns
string
command
Name
get
commandName
(
)
:
string
Returns
string
handler
get
handler
(
)
:
(
(
args
)
=>
void
)
Returns
(
(
args
)
=>
void
)
(
args
)
:
void
Parameters
args
:
ArgumentsCamelCase
<
T
>
Returns
void
option
Params
get
optionParams
(
)
:
OptionParam
[]
Returns
OptionParam
[]
positional
Arguments
get
positionalArguments
(
)
:
PositionalArgument
[]
Returns
PositionalArgument
[]
sub
Commands
get
subCommands
(
)
:
NcaCommandModule
<
AnyObj
>
[]
Returns
NcaCommandModule
<
AnyObj
>
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_command
Description
_command
Name
_handler
_option
Params
_positional
Arguments
_sub
Commands
command
Description
command
Name
handler
option
Params
positional
Arguments
sub
Commands
node-command-alias
Loading...