Class: Superbot::CLI::RootCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Superbot::CLI::RootCommand
- Defined in:
- lib/superbot/cli/root_command.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.run ⇒ Object
25 26 27 28 29 30 |
# File 'lib/superbot/cli/root_command.rb', line 25 def self.run super rescue StandardError => exc warn exc. warn exc.backtrace.join("\n") end |
Instance Method Details
#subcommand_missing(name) ⇒ Object
32 33 34 35 36 |
# File 'lib/superbot/cli/root_command.rb', line 32 def subcommand_missing(name) return super unless name == 'local' abort "Subcommand '#{name}' requires gem superbot-#{name} to be installed" end |