Class: Forematter::CommandRunner

Inherits:
Cri::CommandRunner
  • Object
show all
Defined in:
lib/forematter/command_runner.rb

Instance Method Summary collapse

Instance Method Details

#callObject



5
6
7
8
9
10
11
# File 'lib/forematter/command_runner.rb', line 5

def call
  run
  exit 1 if @has_error
rescue UsageException
  $stderr.puts "usage: #{super_usage}#{command.usage}"
  exit 1
end