Sha256: 68b319ca5299ab15e642e0bceb1bfc0099712665c0cea7b1795c383ffccb198c
Contents?: true
Size: 526 Bytes
Versions: 40
Compression:
Stored size: 526 Bytes
Contents
module HammerCLIForeman module OptionSources class FieldsParams < HammerCLI::Options::Sources::Base def initialize(command) @command = command end def process(defined_options, result) get_options(defined_options, result) end def get_options(_defined_options, result) if @command.respond_to?(:option_fields) && @command.option_fields == ['THIN'] result[HammerCLI.option_accessor_name('thin')] = true end result end end end end
Version data entries
40 entries across 40 versions & 1 rubygems