Sha256: ac4d31a6c475357d226a7cc8790b211a73c9f4a34ddc00ba5edcbc505d4660cd
Contents?: true
Size: 515 Bytes
Versions: 20
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true # Allow override of the branch that is cached. This defaults to 'origin/master'. # @param parser [OptionParser object] The OptionParser argument # @param options [Hash] Options hash being constructed; this is modified in this method. OctocatalogDiff::Cli::Options::Option.newoption(:master_cache_branch) do has_weight 160 def parse(parser, options) parser.on('--master-cache-branch BRANCH', 'Branch to cache') do |x| options[:master_cache_branch] = x end end end
Version data entries
20 entries across 20 versions & 1 rubygems