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
Hi Alvaro - this is great thanks! I didn't even know you could do this to be honest. My only slight concern is that we have to remember to keep this up to date if we change any of the commands - it's very distinct from the parsing code.
I've also just done a little googling and found this: https://github.com/kislyuk/argcomplete. Have you come across it? It might make things a little easier to manage?
My only slight concern is that we have to remember to keep this up to
date if we change any of the commands - it's very distinct from the parsing
code.
I agree. Alas, it requires some knowledge of what the arguments do and
which ones expect a file after, so it is not as straightforward as I hoped.
I've also just done a little googling and found this: https://github.com/kislyuk/argcomplete. Have you come across it? It might
make things a little easier to manage?
Hi @duncanwp,
I wrote a bash completion script for cis. To use it you jost need to source it as
source cisCompletion.bash cis [tab] ...
Hope you find this useful enough to add it to the repo.
Cheers,
Álvaro.
The text was updated successfully, but these errors were encountered: