Sha256: f04c1725e0ffc31ec72b9d3c00b456526e4d37c3bba7fc060ea8be8105867487

Contents?: true

Size: 535 Bytes

Versions: 10

Compression:

Stored size: 535 Bytes

Contents

require 'thor'
require 'lono_params/cli/help'

module LonoParams

  class CLI < Thor
    class_option :verbose, type: :boolean
    class_option :noop, type: :boolean
    class_option :project_root, desc: "project root to use", default: '.'

    desc "generate NAME", "generate parameter json file for NAME"
    long_desc Help.generate
    option :path, desc: "Path of the source params txt file.  Use this to override the params/NAME.txt convention"
    def generate(name)
      Generator.new(name, options).generate
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
lono-cfn-1.0.2 vendor/lono-params/lib/lono_params/cli.rb
lono-cfn-1.0.1 vendor/lono-params/lib/lono_params/cli.rb
lono-params-0.1.1 lib/lono_params/cli.rb
lono-params-0.1.0 lib/lono_params/cli.rb
lono-cfn-1.0.0 vendor/lono-params/lib/lono_params/cli.rb
lono-params-0.0.6 lib/lono_params/cli.rb
lono-cfn-0.1.0 vendor/lono-params/lib/lono_params/cli.rb
lono-cfn-0.0.9 vendor/lono-params/lib/lono_params/cli.rb
lono-params-0.0.5 lib/lono_params/cli.rb
lono-params-0.0.4 lib/lono_params/cli.rb