Environment Reference
Task has multiple ways of being configured. These methods are parsed, in sequence, in the following order with the highest priority last:
- Configuration files
- Environment variables
- Command-line flags
In this document, we will look at the second of the three options, environment variables. All Task-specific variables are prefixed with TASK_ and override their configuration file equivalents.
Variables
All configuration file options can also be set via environment variables. The priority order is: CLI flags > environment variables > config files > defaults.
TASK_VERBOSE
- Type:
boolean(true,false,1,0) - Default:
false - Description: Enable verbose output for all tasks
- Config equivalent:
verbose
TASK_SILENT
- Type:
boolean(true,false,1,0) - Default:
false - Description: Disables echoing of commands
- Config equivalent:
silent
TASK_COLOR
- Type:
boolean(true,false,1,0) - Default:
true - Description: Enable colored output
- Config equivalent:
color
TASK_DISABLE_FUZZY
- Type:
boolean(true,false,1,0) - Default:
false - Description: Disable fuzzy matching for task names
- Config equivalent:
disable-fuzzy
TASK_CONCURRENCY
- Type:
integer - Description: Limit number of tasks to run concurrently
- Config equivalent:
concurrency
TASK_FAILFAST
- Type:
boolean(true,false,1,0) - Default:
false - Description: When running tasks in parallel, stop all tasks if one fails
- Config equivalent:
failfast
TASK_DRY
- Type:
boolean(true,