class Ronin::CLI::Commands::Completion

Manages the shell completion rule for ‘ronin` and all other `ronin-*` commands.

## Usage

ronin completion [options]

## Options

    --print                      Prints the shell completion file
    --install                    Installs the shell completion file
    --uninstall                  Uninstalls the shell completion file
-h, --help                       Print help information

## Examples

ronin completion --print
ronin completion --install
ronin completion --uninstall

@since 2.1.0

Constants

COMPLETION_FILES

All shell completion files for ‘ronin` and the other `ronin-*` commands.

Public Instance Methods

install_completion_file() click to toggle source

Installs all completion files.

Calls superclass method
# File lib/ronin/cli/commands/completion.rb, line 98
def install_completion_file
  COMPLETION_FILES.each do |completion_file|
    super(completion_file)
  end
end
print_completion_file() click to toggle source

Prints all completion files.

Calls superclass method
uninstall_completion_file() click to toggle source

Uninstall all completion files.

Calls superclass method
# File lib/ronin/cli/commands/completion.rb, line 107
def uninstall_completion_file
  COMPLETION_FILES.each do |completion_file|
    super(completion_file)
  end
end