From afbf98c9743b8b72a3311fb468409e634a1f6154 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Fri, 8 Jul 2022 14:49:52 -0300 Subject: [PATCH] Website: Add ENV section to API page --- docs/docs/api_reference.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/docs/api_reference.md b/docs/docs/api_reference.md index 7fdfc8c9..22cc81f6 100644 --- a/docs/docs/api_reference.md +++ b/docs/docs/api_reference.md @@ -44,6 +44,21 @@ variable | | `--version` | `bool` | `false` | Show Task version. | | `-w` | `--watch` | `bool` | `false` | Enables watch of the given task. | +## ENV + +Some environment variables can be overriden to adjust Task behavior. + +| ENV | Default | Description | +| - | - | - | +| `TASK_TEMP_DIR` | `.task` | Location of the temp dir. Can relative to the project like `tmp/task` or absolute like `/tmp/.task` or `~/.task`. | +| `TASK_COLOR_RESET` | `0` | Color used for white. | +| `TASK_COLOR_BLUE` | `34` | Color used for blue. | +| `TASK_COLOR_GREEN` | `32` | Color used for green. | +| `TASK_COLOR_CYAN` | `36` | Color used for cyan. | +| `TASK_COLOR_YELLOW` | `33` | Color used for yellow. | +| `TASK_COLOR_MAGENTA` | `35` | Color used for magenta. | +| `TASK_COLOR_RED` | `31` | Color used for red. | + ## Schema ### Taskfile