Search
Preparing search index...
The search index is not available
@iov/multichain Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
ArgumentParser
Class ArgumentParser
Hierarchy
ArgumentGroup
ArgumentParser
Index
Constructors
constructor
Methods
add
Argument
add
Argument
Group
add
Mutually
Exclusive
Group
add
Subparsers
convert
Arg
Line
ToArg
error
exit
format
Help
format
Usage
get
Default
parse
Args
parse
Known
Args
print
Help
print
Usage
set
Defaults
Constructors
constructor
new
Argument
Parser
(
options
?:
ArgumentParserOptions
)
:
ArgumentParser
Parameters
Optional
options:
ArgumentParserOptions
Returns
ArgumentParser
Methods
add
Argument
add
Argument
(
args
:
string
[]
|
string
, options
?:
ArgumentOptions
)
:
void
Parameters
args:
string
[]
|
string
Optional
options:
ArgumentOptions
Returns
void
add
Argument
Group
add
Argument
Group
(
options
?:
ArgumentGroupOptions
)
:
ArgumentGroup
Parameters
Optional
options:
ArgumentGroupOptions
Returns
ArgumentGroup
add
Mutually
Exclusive
Group
add
Mutually
Exclusive
Group
(
options
?:
undefined
|
object
)
:
ArgumentGroup
Parameters
Optional
options:
undefined
|
object
Returns
ArgumentGroup
add
Subparsers
add
Subparsers
(
options
?:
SubparserOptions
)
:
SubParser
Parameters
Optional
options:
SubparserOptions
Returns
SubParser
convert
Arg
Line
ToArg
convert
Arg
Line
ToArg
(
argLine
:
string
)
:
string
[]
Parameters
argLine:
string
Returns
string
[]
error
error
(
err
:
string
|
Error
)
:
void
Parameters
err:
string
|
Error
Returns
void
exit
exit
(
status
:
number
, message
:
string
)
:
void
Parameters
status:
number
message:
string
Returns
void
format
Help
format
Help
(
)
:
string
Returns
string
format
Usage
format
Usage
(
)
:
string
Returns
string
get
Default
get
Default
(
dest
:
string
)
:
any
Parameters
dest:
string
Returns
any
parse
Args
parse
Args
(
args
?:
string
[]
, ns
?:
Namespace
|
object
)
:
any
Parameters
Optional
args:
string
[]
Optional
ns:
Namespace
|
object
Returns
any
parse
Known
Args
parse
Known
Args
(
args
?:
string
[]
, ns
?:
Namespace
|
object
)
:
any
[]
Parameters
Optional
args:
string
[]
Optional
ns:
Namespace
|
object
Returns
any
[]
print
Help
print
Help
(
)
:
void
Returns
void
print
Usage
print
Usage
(
)
:
void
Returns
void
set
Defaults
set
Defaults
(
options
?:
undefined
|
__type
)
:
void
Parameters
Optional
options:
undefined
|
__type
Returns
void
Globals
Argument
Parser
constructor
add
Argument
add
Argument
Group
add
Mutually
Exclusive
Group
add
Subparsers
convert
Arg
Line
ToArg
error
exit
format
Help
format
Usage
get
Default
parse
Args
parse
Known
Args
print
Help
print
Usage
set
Defaults
Generated using
TypeDoc