Class: Automan::Cli::Base

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

Direct Known Subclasses

Scanner, Snapper, Stacker, Stalker

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/automan/cli/base.rb', line 5

def self.exit_on_failure?
    return true
end

Instance Method Details

#versionObject



10
11
12
# File 'lib/automan/cli/base.rb', line 10

def version
  say Automan::VERSION
end