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