Class: WIP::Runner::CLI::Help

Inherits:
WIP::Runner::Command show all
Defined in:
lib/wip/runner/cli/help.rb

Instance Attribute Summary

Attributes inherited from WIP::Runner::Command

#parser

Instance Method Summary collapse

Methods inherited from WIP::Runner::Command

argument, arguments, commands, #initialize, options, overview, #run, signature, workflow

Constructor Details

This class inherits a constructor from WIP::Runner::Command

Instance Method Details

#execute(params, config) ⇒ Object



7
8
9
10
11
# File 'lib/wip/runner/cli/help.rb', line 7

def execute(params, config)
  command_parser(params).help
rescue InvalidCommand => e
  print_error(e)
end

#validate!(args) ⇒ Object



13
14
15
# File 'lib/wip/runner/cli/help.rb', line 13

def validate!(args)
  true
end