This key defines configuration options for argument list parser configurations.
The value is an object that can contain models and format properties. These options control how multiple argument values are parsed and validated.
Appears in#
└── Snippet
└── params
└── *
└── Argument List Parser Configuration
└── optionsType#
Object Required
Properties#
This key defines the parsing configurations for each argument.
Matches the model options from the argument parser.
Appears in: Argument List Parser Configuration options.
Examples#
In this example, we have configured argument list parser options with multiple models.
Copied to clipboard
_snippets:
example:
snippet: <<example [[param1]] [[param2]]>>
params:
params:
parser: argument_list
options:
models:
- editor_key: param1
- editor_key: param2{
"_snippets": {
"example": {
"snippet": "<<example [[param1]] [[param2]]>>",
"params": {
"params": {
"parser": "argument_list",
"options": {
"models": [
{
"editor_key": "param1"
},
{
"editor_key": "param2"
}
]
}
}
}
}
}
}