Sha256: ce1a6011c42576da6f97107db31e16cd2c7c08889c587fae608cfa21d239b5d6
Contents?: true
Size: 458 Bytes
Versions: 3
Compression:
Stored size: 458 Bytes
Contents
require "thor" module Lono class Param < Lono::Command class_option :verbose, type: :boolean class_option :noop, type: :boolean class_option :mute, type: :boolean desc "generate", "Generate all parameter files to `output/params`." long_desc Lono::Help.text("param/generate") def generate(blueprint=nil) Blueprint::Find.one_or_all(blueprint).each do |b| Generator.new(b, options).generate end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lono-5.1.1 | lib/lono/param.rb |
lono-5.1.0 | lib/lono/param.rb |
lono-5.0.1 | lib/lono/param.rb |