Class: TranslateClient::CLI::Base

Inherits:
Thor
  • Object
show all
Defined in:
lib/translate_client/cli/base.rb

Direct Known Subclasses

AuthCommands, Main

Class Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


10
# File 'lib/translate_client/cli/base.rb', line 10

def exit_on_failure? = true

.startObject



12
13
14
15
16
# File 'lib/translate_client/cli/base.rb', line 12

def start(*)
  super
rescue PresentableError => e
  puts e.message
end