Sha256: d873c64af621cad551754fdd7c43fa5cdf2155a4b689845a2037013a82ef46b5
Contents?: true
Size: 540 Bytes
Versions: 15
Compression:
Stored size: 540 Bytes
Contents
module Lono class Configset < Command long_desc Help.text("configset/new") New.cli_options.each do |args| option(*args) end register(New, "new", "new NAME", "Generates new lono configset.") desc "generate", "Generate configset from DSL" long_desc Help.text(:generate) option :resource, default: "PretendResource", desc: "Set the @resource instance variable availalbe in the configset" def generate(configset) Generator.new(options.merge(configset: configset, cli: true)).run end end end
Version data entries
15 entries across 15 versions & 1 rubygems