Module: Ronin::Core::CLI::Help::Banner

Includes:
Banner
Defined in:
lib/ronin/core/cli/help/banner.rb

Overview

Adds the Ronin ASCII art banner to the --help output.

Since:

  • 0.2.0

Constant Summary

Constants included from Banner

Banner::BANNER

Instance Method Summary collapse

Methods included from Banner

#print_banner

Instance Method Details

#helpObject

Note:

If stdout is not a TTY, the Ronin ASCII art banner will be omitted.

Prints the Ronin ASCII art banner and the --help output.

Since:

  • 0.2.0



40
41
42
43
44
# File 'lib/ronin/core/cli/help/banner.rb', line 40

def help
  print_banner if stdout.tty?

  super
end