Project

General

Profile

Actions

Feature #27260

open

add possibiliy to add multiple repositories in content view

Added by Patrick Thyen over 5 years ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

command used:
"hammer content-view add-repository"
When using hammer and adding repositories, you have to add every repository step by step.
It would be nice, if you have the possibility to add multiple subscriptions (like you have in the foreman gui by just selecting multiple checkboxes)

It would be also nice, if you can select not only IDs but also the name of your possible subscription.

Example:

hammer content-view add-repository -h
Usage:
hammer content-view add-repository [OPTIONS]

Options:
--id ID Content view numeric identifier
--name NAME Content view name to search by
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
--product PRODUCT_NAME Product name to search by
--product-id PRODUCT_ID Product numeric identifier
--repository REPOSITORY_NAME Repository name to search by
--repository-id REPOSITORY_ID Repository ID
-h, --help Print help

add:
--repositoriy-ids Repository ID List to add
--repositories Repository Name List to add

With these options I could add Repositories like in:
hammer content-view create/update

Actions

Also available in: Atom PDF