Feature #26980
closedadd possibiliy to add multiple subscriptions in activation key
Description
command used:
"hammer activation-key add-subscription"
When using hammer and adding subscriptions, you have to add every subscription 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 activation-key add-subscription -h
Usage:
hammer activation-key add-subscription [OPTIONS]
Options:
--id ID ID of the activation key
--name NAME Activation key name to search by
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
--quantity QUANTITY Quantity of this subscription to add
--subscription-id SUBSCRIPTION_ID ID of subscription
-h, --help Print help
add:
--subscription-ids SUBSCRIPTION_IDs ID List of subscriptions
--subscription-name SUBSCRIPTION_NAME Name of subscription
--subscription-names SUBSCRIPTION_NAME Name List of subscriptions