Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.16 KB

README.md

File metadata and controls

18 lines (10 loc) · 1.16 KB

Confluent CLI Fish Completions

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.

Usage

Add confluent.fish to ~/.config/fish/completions

Credit

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.