Class: HammerCLIKatello::OptionSources::LifecycleEnvironmentParams

Inherits:
HammerCLI::Options::Sources::Base
  • Object
show all
Defined in:
lib/hammer_cli_katello/option_sources/lifecycle_environment_params.rb

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ LifecycleEnvironmentParams

Returns a new instance of LifecycleEnvironmentParams.



4
5
6
# File 'lib/hammer_cli_katello/option_sources/lifecycle_environment_params.rb', line 4

def initialize(command)
  @command = command
end

Instance Method Details

#get_options(_defined_options, result) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/hammer_cli_katello/option_sources/lifecycle_environment_params.rb', line 8

def get_options(_defined_options, result)
  legacy_option_id(result)
  legacy_option_ids(result)
  ensure_option_id(result)
  ensure_option_ids(result)
  result
end