fix: .USER_WORKING_DIR should contain the value of --dir if given (#2186)

Closes #2102
Closes #2103

Co-authored-by: jaynis <kranz.jannis@googlemail.com>
This commit is contained in:
Andrey Nering
2025-04-18 22:27:30 -03:00
committed by GitHub
parent e65159f613
commit 768dca053b
4 changed files with 10 additions and 2 deletions

View File

@@ -61,6 +61,12 @@ In this example, we can run `cd <service>` and `task up` and as long as the
`<service>` directory contains a `docker-compose.yml`, the Docker composition
will be brought up.
:::info
`.USER_WORKING_DIR` will contain the value of the `--dir` (`-d`) flag, if given.
:::
### Running a global Taskfile
If you call Task with the `--global` (alias `-g`) flag, it will look for your