tasks-playground
tasks-playground copied to clipboard
Enable bash completion for bolt
Completion works for bolt options when run directly or via bundle exec and expands nodes from ~/.ssh/config.
Usage
$ bolt [TAB]
$ bundle exec bolt [TAB]
$ bolt -[TAB]
$ bolt --nodes [TAB]
$ bolt --nodes node1,[TAB]
@jerearista thanks, this is great. Just showed it to a few of the bolt developers as well.
Did this eventually get moved to https://github.com/puppetlabs/bolt/blob/master/resources/bolt_bash_completion.sh?