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
27 28 29 30 31 32 |
# File 'lib/superbot/cli/root_command.rb', line 27 def self.run super rescue StandardError => exc warn exc. warn exc.backtrace.join("\n") end |
Instance Method Details
#subcommand_missing(name) ⇒ Object
34 35 36 37 38 |
# File 'lib/superbot/cli/root_command.rb', line 34 def subcommand_missing(name) return super unless name == 'local' abort "Subcommand '#{name}' requires gem superbot-#{name} to be installed" end |