Module: HammerCLIKatello::HostCollectionPackageCommand::PackageContentType

Included in:
InstallCommand, RemoveCommand, UpdateCommand
Defined in:
lib/hammer_cli_katello/host_collection_package.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



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

def self.included(base)
  base.option('--packages',
    'PACKAGES',
    _("comma-separated list of packages to install"),
    :required => true,
    :format => HammerCLI::Options::Normalizers::List.new,
    :attribute_name => :content)
end

Instance Method Details

#content_typeObject



16
17
18
# File 'lib/hammer_cli_katello/host_collection_package.rb', line 16

def content_type
  'package'
end