Class: TridentAssistant::CLI::Command

Inherits:
Base
  • Object
show all
Defined in:
lib/trident_assistant/cli.rb

Overview

Main commands of CLI

Constant Summary

Constants inherited from Base

Base::UI

Instance Attribute Summary

Attributes inherited from Base

#api, #bot, #client, #keystore

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from TridentAssistant::CLI::Base

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/trident_assistant/cli.rb', line 24

def self.exit_on_failure?
  true
end

Instance Method Details

#versionObject



20
21
22
# File 'lib/trident_assistant/cli.rb', line 20

def version
  log VERSION
end