class Lamma::CLI::Create

Public Class Methods

new(options, thor) click to toggle source
# File lib/lamma/cli/create.rb, line 5
def initialize(options, thor)
  @options = options
  @thor = thor
  @conf_path = options[:conf_path] || Lamma::DEFAULT_CONF_PATH
end

Public Instance Methods

run() click to toggle source
# File lib/lamma/cli/create.rb, line 11
def run
  f = Lamma::Function.new(@conf_path)
  f.create
end