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

Fix Zsh completion for tasks without description #803

Merged
merged 1 commit into from
Jul 17, 2022

Conversation

carlsmedstad
Copy link
Contributor

Use --list-all instead of --list in order include tasks without
description in the auto-completion.

Use --list-all instead of --list in order include tasks without
description in the auto-completion.
@andreynering
Copy link
Member

Thanks @carlsmedstad!

@andreynering andreynering merged commit 110d1d7 into go-task:master Jul 17, 2022
@ghostsquad
Copy link
Contributor

This was so needed. In fact, I'd like to open another pull request.. I feel like --list should include all tasks regardless, and you would just add another option to filter to include only those with descriptions. E.g.

# old command
task --list

# new
task --list --only-described

# and deprecate this
task --list-all

@ghostsquad
Copy link
Contributor

I suppose it's important to add a description to tasks that a user may want to run...

Nvm, that way --list becomes the easiest thing to get the tasks that are most relevant.

I'll open an issue with this once I have some more time to think on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants