[scripts]

A map of script names to command templates.

Each entry: Configuration for a script, either as a string, command, or chain

Forms:

  • a string: A string to run as a script.

  • a table with cmd: A command configuration

  • a table with chain: A chain of script configurations

Guide: scripts.

scripts.<name>.cmd
Type:
string

The command to run.

scripts.<name>.env
Type:
table of strings
Default:
{}

A map of environment variables to set when running the command.

scripts.<name>.jinja
Type:
boolean
Default:
true

If True, the command is a Jinja template.

scripts.<name>.terminal
Type:
string

The terminal name to use to run the command (defaults to script key).

scripts.<name>.chain
Type:
array of strings

A list of keys of scripts to chain together.