Module: Cliffy

Defined in:
lib/cliffy/api.rb,
lib/cliffy/version.rb,
lib/cliffy/internal/run.rb,
lib/cliffy/internal/wrapper.rb,
lib/cliffy/internal/validate.rb,
lib/cliffy/internal/generate_help_data.rb

Defined Under Namespace

Modules: Internal Classes: Service

Constant Summary collapse

VERSION =
'0.6.0'

Class Method Summary collapse

Class Method Details

.run(*commands, arguments: ARGV, help_points: []) ⇒ Object



5
6
7
8
# File 'lib/cliffy/api.rb', line 5

def self.run *commands, arguments: ARGV, help_points: []
  service = Service.new commands, arguments, help_points, method(:abort), method(:puts)
  service.run
end