Class: Ymlbill::CLI

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

Instance Method Summary collapse

Instance Method Details

#generate(input_file) ⇒ Object



38
39
40
41
# File 'lib/ymlbill/cli.rb', line 38

def generate(input_file)
  @input_file = input_file
  run_pipeline
end

#versionObject



44
45
46
# File 'lib/ymlbill/cli.rb', line 44

def version
  puts "ymlbill #{Ymlbill::VERSION}"
end