Class: Superbot::Cloud::CLI::LoginRequiredCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Superbot::Cloud::CLI::LoginRequiredCommand
show all
- Includes:
- Validations
- Defined in:
- lib/superbot/cloud/cli/login_required_command.rb
Class Method Summary
collapse
Instance Method Summary
collapse
#require_login
Class Method Details
.run ⇒ Object
14
15
16
17
18
19
20
|
# File 'lib/superbot/cloud/cli/login_required_command.rb', line 14
def self.run
require_login
super
rescue StandardError => exc
warn exc.message
warn exc.backtrace.join("\n")
end
|
Instance Method Details
#run(args) ⇒ Object
9
10
11
12
|
# File 'lib/superbot/cloud/cli/login_required_command.rb', line 9
def run(args)
require_login
super
end
|