Skip to content

Support for global task in alongside local taskΒ #578

@BaccanoMob

Description

@BaccanoMob

From task docs,

Running a global Taskfile

If you call Task with the --global (alias -g) flag, it will look for your home directory instead of your working directory. In short, Task will look for a Taskfile that matches $HOME/{T,t}askfile.{yml,yaml} .

I looked up global task in the issues but did not find anything. I am currently setting up task and was thinking of putting all common tass there. It would be cool to have a similar flag to access them fzf-make -g (though I guess it would be task exclusive flag).

Basically it will use task -l -g --json instead of task -l --json to get the list.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions