Sha256: 4911e47b9bd6ae125feaaa364a95e4d41500a9b8e2b907e1b7377d4dc5083e2a

Contents?: true

Size: 623 Bytes

Versions: 20

Compression:

Stored size: 623 Bytes

Contents

# frozen_string_literal: true

# Specify the hostname, or hostname:port, for the Puppet 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(:puppet_master) do
  has_weight 320

  def parse(parser, options)
    OctocatalogDiff::Cli::Options.option_globally_or_per_branch(
      parser: parser,
      options: options,
      cli_name: 'puppet-master',
      option_name: 'puppet_master',
      desc: 'Hostname or Hostname:PortNumber for Puppet Master'
    )
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
octocatalog-diff-2.3.1 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-2.3.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-2.1.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-2.0.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.6.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.5.4 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.5.3 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.5.2 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.5.1 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.5.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.4.1 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.4.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.3.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.2.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.1.0 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.0.4 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.0.3 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.0.2 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.0.1 lib/octocatalog-diff/cli/options/puppet_master.rb
octocatalog-diff-1.0.0 lib/octocatalog-diff/cli/options/puppet_master.rb