This adds a tab completion function for zsh.
The file is atm put at a more or less random location in the repository. After installation it should go to a location like
The suggestions are mostly obtained by copy&pasting the
help messages of
gitlab-ci-multi-runner. In some obvious places (like
--kubernetes-ca-file) the completion continues and suggests file names or (for
--working-directory) directory names.
I did not (yet) make sure if it makes sense to suggest
--kubernetes* options after
--docker* options have been provided.
The function follows the example of the yum completion in zsh.
to be done:
find a proper path to place the file and include in installation routine
verify if it makes sense to provide different executor options in
helpmessages mostly say
USAGE: command run-single [command options] [arguments...]but only explain command options. Therefore no arguments are suggested