Closed postmodern closed 2 years ago
Add tab-completion support to Ronin::Core::CLI::Shell. It should be possible to tab-complete command names, as well as additional arguments/options for a command.
Ronin::Core::CLI::Shell
fo<TAB><TAB> foo foot food foo --b<TAB><TAB> --bytes
This can be accomplished using Reline.completion_proc = ->(line) { ...}. Each command should also have an optional array of known completion values.
Reline.completion_proc = ->(line) { ...}
command :foo, usage: '[options]', summary: '...', completion: %w[--bytes --count -c ...]
Add tab-completion support to
Ronin::Core::CLI::Shell
. It should be possible to tab-complete command names, as well as additional arguments/options for a command.This can be accomplished using
Reline.completion_proc = ->(line) { ...}
. Each command should also have an optional array of known completion values.