lib/ronin/fuzzer/cli.rb in ronin-fuzzer-0.2.0.rc1 vs lib/ronin/fuzzer/cli.rb in ronin-fuzzer-0.2.0
- old
+ new
@@ -19,21 +19,28 @@
# along with ronin-fuzzer. If not, see <https://www.gnu.org/licenses/>.
#
require 'command_kit/commands'
require 'command_kit/commands/auto_load'
+require 'command_kit/options/version'
+require 'ronin/core/cli/command'
+require 'ronin/core/cli/help/banner'
+
module Ronin
module Fuzzer
class CLI
include CommandKit::Commands
include CommandKit::Commands::AutoLoad.new(
dir: "#{__dir__}/cli/commands",
namespace: "#{self}::Commands"
)
+ include CommandKit::Options::Version
+ include Core::CLI::Help::Banner
command_name 'ronin-fuzzer'
+ version Ronin::Fuzzer::VERSION
end
end
end