I have written a small shell script that takes a single command line argument.
I'd like to be able to autocomplete when I start writing an argument, the autocompletion choices should come from a specific text file.
For instance if my text file contains
if I start writing
my-cli fo and press
TAB I like zsh to show me the choices
Any pointer to a relevant documentation or tutorial is welcome.