Module: HammerCLIKatello::RepositoryScopedToProduct
- Included in:
- AssociatingCommands::Repository::AddRepositoryCommand, AssociatingCommands::Repository::RemoveRepositoryCommand, ContentUnitsCommand::ListCommand, ErratumCommand::ListCommand, FileCommand::ListCommand, ModuleStreamCommand::InfoCommand, ModuleStreamCommand::ListCommand, PackageGroupCommand::ListCommand, HammerCLIKatello::Repository::DeleteCommand, HammerCLIKatello::Repository::InfoCommand, HammerCLIKatello::Repository::ReclaimSpaceCommand, HammerCLIKatello::Repository::RemoveContentCommand, HammerCLIKatello::Repository::RepublishCommand, HammerCLIKatello::Repository::SyncCommand, HammerCLIKatello::Repository::UpdateCommand, HammerCLIKatello::Repository::UploadContentCommand, HammerCLIKatello::Repository::VerifyChecksum
- Defined in:
- lib/hammer_cli_katello/repository_scoped_to_product.rb
Instance Method Summary collapse
Instance Method Details
#validate_repo_name_requires_product_options(name_option = :option_name) ⇒ Object
3 4 5 6 7 |
# File 'lib/hammer_cli_katello/repository_scoped_to_product.rb', line 3 def (name_option = :option_name) :before, 'IdResolution' do any(:option_product_name, :option_product_id).required if option(name_option).exist? end end |