newt complete

Performs bash autocompletion using tab. It is not intended to be called directly from the command line.

Install bash autocompletion

$ brew install bash-completion
Updating Homebrew...
Bash completion has been installed to:
==> Summary
🍺  /usr/local/Cellar/bash-completion/1.3_1: 189 files, 607.8K

Enable autocompletion for newt

$ complete -C "newt complete" newt


Hit tab and see possible completion options or completed command.

$ newt target s
set   show
$ newt target show