Fish shell completions file for the Confluent v2 CLI
If you are are a regular user of Confluent you will be familiar with the CLI tool. It comes with completion scripts for bash and zsh but sadly not for fish. This completions file addresses that.
This dynamically pulls completion hints from the CLI binary itself (using the hidden confluent __complete xxx
command, so should be reactive in the face of new commands getting added in the future.
Add confluent.fish
to ~/.config/fish/completions
This completion file is a very lightly modified reproduction of the fish completions provided with podman. I can take very little credit for it, but I do reccomend checking out the latest version of it here, as they update it fairly regularly and it is the best base I have found for building dynamic fish completion scripts.