Module: HammerCLIKatello::HostCollectionPackageGroupCommand::PackageGroupContentType

Included in:
InstallCommand, RemoveCommand, UpdateCommand
Defined in:
lib/hammer_cli_katello/host_collection_package_group.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_group.rb', line 7

def self.included(base)
  base.option('--package-groups',
    'PACKAGE-GROUPS',
    _("comma-separated list of package-groups 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_group.rb', line 16

def content_type
  'package_group'
end