docs: document extra_args provider field
This commit is contained in:
parent
7f1f8f8d65
commit
3b15ed7c6c
1 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ Provider fields: ~
|
||||||
receives a |preview.Context| and
|
receives a |preview.Context| and
|
||||||
returns a string[].
|
returns a string[].
|
||||||
|
|
||||||
|
{extra_args} (string[]|function) Appended to {args} after evaluation.
|
||||||
|
Useful for adding flags to a preset
|
||||||
|
without replacing its defaults.
|
||||||
|
|
||||||
{cwd} (string|function) Working directory. If a function,
|
{cwd} (string|function) Working directory. If a function,
|
||||||
receives a |preview.Context|.
|
receives a |preview.Context|.
|
||||||
Default: git root or file directory.
|
Default: git root or file directory.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue