Lines Matching full:options
22 def check_option(optparser, options, key) argument
23 return if options[key]
37 options = OpenStruct.new
40 opts.banner = 'Usage: merge.rb [options]'
50 optparser.parse!(into: options)
52 check_option(optparser, options, :data)
56 options.data.each do |options_yaml|
59 data["options"].each do |option|
96 data = YAML.load_file(File.expand_path(options.data[0]))
98 data["options"] = options_hash.values
99 output = options.output ? File.open(File.expand_path(options.output), 'w') : $stdout