tasks-playground icon indicating copy to clipboard operation
tasks-playground copied to clipboard

Enable bash completion for bolt

Open jerearista opened this issue 8 years ago • 2 comments

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 avatar Oct 10 '17 22:10 jerearista

@jerearista thanks, this is great. Just showed it to a few of the bolt developers as well.

garethr avatar Oct 10 '17 23:10 garethr

Did this eventually get moved to https://github.com/puppetlabs/bolt/blob/master/resources/bolt_bash_completion.sh?

MikaelSmith avatar Jan 30 '19 21:01 MikaelSmith