Class: Trokko::CLI

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

Overview

CLI for Trokko

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


149
150
151
# File 'lib/trokko/cli.rb', line 149

def self.exit_on_failure?
  true
end

Instance Method Details

#versionObject



157
158
159
# File 'lib/trokko/cli.rb', line 157

def version
  say "trokko #{Trokko::VERSION}"
end