av
av copied to clipboard
Add autocompletion for flags
https://github.com/spf13/cobra/blob/main/site/content/completions/_index.md#specify-dynamic-flag-completion
Cobra supports autocompletion for args and flags. We can provide better completion candidates for these two:
av stack branch:--parentshould have branches as candidatesav stack sync:--parentshould have branches as candidates
(The autocompletion can be enabled with https://docs.aviator.co/aviator-cli/how-to-guides/setup-auto-completion)