frontend
Preparing search index...
utils/cli/commands/cribbageCommands
parseCribbageCommand
Function parseCribbageCommand
parseCribbageCommand
(
input
:
string
,
)
:
CliParseResult
<
[
command
:
|
"reset"
|
"log"
|
"discard"
|
"nextround"
|
"peg"
|
"go"
|
"shownext"
,
cardIndex
?:
number
,
cardIndices
?:
number
[]
,
config
?:
CribbageConfigInput
,
]
,
>
Parse a Cribbage CLI command into API exec arguments.
Parameters
input
:
string
Returns
CliParseResult
<
[
command
:
|
"reset"
|
"log"
|
"discard"
|
"nextround"
|
"peg"
|
"go"
|
"shownext"
,
cardIndex
?:
number
,
cardIndices
?:
number
[]
,
config
?:
CribbageConfigInput
,
]
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
frontend
Loading...
Parse a Cribbage CLI command into API exec arguments.