You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the command arguments (go binary names), we would have to write a custom BashComplete function to get the list of installed binaries
To make sure all of that works, it would be great to add some integration tests that try to invoke the completion with various arguments. This can be done by running go run main.go --generate-bash-completion. We can provide existing arguments there too to simulate various inputs for completion. For example, to get a list of possible flags starting with d:
11:39 $ go run main.go --d --generate-bash-completion
--debug
--dry-run
It would be nice to have bash completions for the supported flags and/or binaries passed as arguments.
Specifically, pressing tab for completions should lead to following output:
The text was updated successfully, but these errors were encountered: