Class: Kuzya::CLI

Inherits:
Service show all
Defined in:
lib/kuzya/cli.rb

Instance Method Summary collapse

Methods inherited from Service

call

Constructor Details

#initialize(args) ⇒ CLI

Returns a new instance of CLI.



4
5
6
# File 'lib/kuzya/cli.rb', line 4

def initialize(args)
  @args = args
end

Instance Method Details

#callObject



8
9
10
11
12
# File 'lib/kuzya/cli.rb', line 8

def call
  config = Kuzya::Config.new

  build_command.call(args, config)
end