Sha256: 7e2102f4c7a305cdfd26de2dc8cbe3faf7f12f0e1b0b24c20a451accb7b352dd
Contents?: true
Size: 634 Bytes
Versions: 4
Compression:
Stored size: 634 Bytes
Contents
# When set, --catalog-only will only compile the catalog for the 'to' branch, and skip any # diffing activity. The catalog will be printed to STDOUT or written to the output file. # @param parser [OptionParser object] The OptionParser argument # @param options [Hash] Options hash being constructed; this is modified in this method. OctocatalogDiff::CatalogDiff::Cli::Options::Option.newoption(:catalog_only) do has_weight 290 def parse(parser, options) desc = 'Only compile the catalog for the "to" branch but do not diff' parser.on('--[no-]catalog-only', desc) do |x| options[:catalog_only] = x end end end
Version data entries
4 entries across 4 versions & 1 rubygems