docs: add missing CLI/config equivalents in environment.md by no-hup · Pull Request #2997 · go-task/task · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions website/src/next/docs/reference/cli.md
8 changes: 8 additions & 0 deletions website/src/next/docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ failfast: true
variable. Requires a TTY. Task automatically detects non-TTY environments (CI
pipelines, etc.) and skips prompts.
- **CLI equivalent**: [`--interactive`](./cli.md#interactive)
- **Environment variable**: [`TASK_INTERACTIVE`](./environment.md#task-interactive)

```yaml
interactive: true
Expand All @@ -176,6 +177,7 @@ interactive: true
- **Default**: `./.task`
- **Description**: Directory to store Task temporary files, such as checksums
and temporary metadata. Relative paths are relative to the root Taskfile.
- **CLI equivalent**: [`--temp-dir`](./cli.md#temp-dir-path)
- **Environment variable**: [`TASK_TEMP_DIR`](./environment.md#task-temp-dir)

```yaml
Expand Down Expand Up @@ -305,6 +307,8 @@ task --trusted-hosts example.com:8080 -t https://example.com:8080/Taskfile.yml
- **Type**: `string`
- **Default**: `""`
- **Description**: Path to a custom CA certificate file for TLS verification
- **CLI equivalent**: [`--cacert`](./cli.md#cacert)
- **Environment variable**: [`TASK_REMOTE_CACERT`](./environment.md#task-remote-cacert)

```yaml
remote:
Expand All @@ -316,6 +320,8 @@ remote:
- **Type**: `string`
- **Default**: `""`
- **Description**: Path to a client certificate file for mTLS authentication
- **CLI equivalent**: [`--cert`](./cli.md#cert)
- **Environment variable**: [`TASK_REMOTE_CERT`](./environment.md#task-remote-cert)

```yaml
remote:
Expand All @@ -327,6 +333,8 @@ remote:
- **Type**: `string`
- **Default**: `""`
- **Description**: Path to the client certificate private key file
- **CLI equivalent**: [`--cert-key`](./cli.md#cert-key)
- **Environment variable**: [`TASK_REMOTE_CERT_KEY`](./environment.md#task-remote-cert-key)

```yaml
remote:
Expand Down
63 changes: 61 additions & 2 deletions website/src/next/docs/reference/environment.md