Taskwarrior officially provides bash/zsh/fish completion scripts.
If you're a PowerShell or nushell user and need autocompletion for Taskwarrior, try https://github.com/sigoden/argc-completions.
Argc-completions provides multi-shell completions for over 1000 commands, including Taskwarrior.