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
17 18 19 20 21 22 |
# File 'lib/superbot/cli/root_command.rb', line 17 def self.run super rescue StandardError => exc warn exc. warn exc.backtrace.join("\n") end |
Instance Method Details
#subcommand_missing(name) ⇒ Object
24 25 26 27 28 |
# File 'lib/superbot/cli/root_command.rb', line 24 def subcommand_missing(name) return super unless name == 'local' abort "Subcommand '#{name}' requires gem superbot-#{name} to be installed" end |