frontend
Preparing search index...
utils/cli/commands/canastaCommands
parseCanastaCommand
Function parseCanastaCommand
parseCanastaCommand
(
input
:
string
,
)
:
CliParseResult
<
[
command
:
|
"reset"
|
"log"
|
"discard"
|
"nextround"
|
"drawstock"
|
"drawdiscard"
|
"meld"
|
"skipmeld"
|
"goout"
,
cardIndex
?:
number
,
config
?:
CanastaConfigInput
,
naturalPairIndices
?:
number
[]
,
meldGroups
?:
number
[]
[]
,
]
,
>
Parse a Canasta CLI command into API exec arguments.
Parameters
input
:
string
Returns
CliParseResult
<
[
command
:
|
"reset"
|
"log"
|
"discard"
|
"nextround"
|
"drawstock"
|
"drawdiscard"
|
"meld"
|
"skipmeld"
|
"goout"
,
cardIndex
?:
number
,
config
?:
CanastaConfigInput
,
naturalPairIndices
?:
number
[]
,
meldGroups
?:
number
[]
[]
,
]
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
frontend
Loading...
Parse a Canasta CLI command into API exec arguments.