Class: NexusAPI::CLI

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/nexus_api/cli.rb', line 39

def self.exit_on_failure?
  true
end

Instance Method Details

#versionObject



35
36
37
# File 'lib/nexus_api/cli.rb', line 35

def version
  puts NexusAPI::VERSION
end