-
-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Description
Description
My use case involved including a utility based taskfile aliased as infra. When using the taskfile, accessing the tasks under it require either adding the infra: prefix in the CLI or creating a mirroring task in the main taskfile.
I propose having the ability to set a default namespace that will allow calling tasks from included taskfile without requiring to use their name/alias.
version: '3'
includes:
infra: ./infra
default_namespaces:
- infraThen when invoking task it will look for tasks in the default namespace even without using the prefix.
This will also allow overriding included tasks if the main taskfile has a task with the same name as the included taskfile.
Metadata
Metadata
Assignees
Labels
No labels