Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion for global taskfile #1574

Open
grachevko opened this issue Apr 2, 2024 · 2 comments
Open

Completion for global taskfile #1574

grachevko opened this issue Apr 2, 2024 · 2 comments
Labels
area: completions Changes related to shell completions and scripts.

Comments

@grachevko
Copy link

For now completion not working with --global flag.

Moreover flag --global not present in completion list

@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Apr 2, 2024
@pd93 pd93 added type: bug Something not working as intended. area: completions Changes related to shell completions and scripts. and removed state: needs triage Waiting to be triaged by a maintainer. labels Oct 29, 2024
@pd93 pd93 removed the type: bug Something not working as intended. label Dec 16, 2024
@dnlopes
Copy link

dnlopes commented Jan 3, 2025

Hit this issue as well. Basically, my use case is the following:

  1. I have global Taskfile with miscellaneous scripts to automate common workflows
  2. I push that Taskfile.yaml to $HOME
  3. I have an alias such as gtask="task --global"

Now, from anywhere on my terminal, I would like to do gtask docker-cleanup for example. However, the tasks do not autocomplete; I have to gtask --list first to see the list of existing tasks.

@pd93 I see you removed the bug label from this. Does it means this use case is not planned to be supported?

Thanks.

@pd93
Copy link
Member

pd93 commented Jan 3, 2025

@dnlopes The bug label is just because we're moving from labels to issue types across all our issues. For whatever reason, GitHub in their infinite wisdom does not log changes to the issue type in the issue feed.

No change to the status here. Completions should definitely work with global tasks - just not something I've had tome to investigate yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: completions Changes related to shell completions and scripts.
Projects
None yet
Development

No branches or pull requests

4 participants