Class: Kashi::CLI::Apply

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

Instance Method Summary collapse

Constructor Details

#initialize(filepath, options) ⇒ Apply

Returns a new instance of Apply.



56
57
58
59
# File 'lib/kashi/cli.rb', line 56

def initialize(filepath, options)
  @filepath = filepath
  @options = options
end

Instance Method Details

#runObject



61
62
63
64
# File 'lib/kashi/cli.rb', line 61

def run
  require 'kashi/client'
  result = Client.new(@filepath, @options).apply
end