Module: Kettle::Family::CLI::SharedOptions

Included in:
BaseCommand
Defined in:
lib/kettle/family/cli.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



30
31
32
33
34
35
# File 'lib/kettle/family/cli.rb', line 30

def self.included(base)
  base.option :root, value: {type: String, usage: "PATH"}, desc: "Workspace or family root"
  base.option :config, value: {type: String, usage: "PATH"}, desc: "Family config path"
  base.option :json, desc: "Print JSON report to stdout"
  base.option :report, value: {type: String, usage: "PATH"}, desc: "Write JSON report to PATH"
end