Feature #12350
closed"hammer content-view" command does not provide "copy" function
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1256670
Description of problem:
Currently "hammer content-view" does not provide copy feature, we have "Copy View" button in the satellite webui but there is no similar option in the hammer command.
- hammer content-view --help
Usage:
hammer content-view [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
add-repository Associate a resource
add-version Update a content view
create Create a content view
delete Delete a content view
filter View and manage filters
info Show a content view
list List content views
publish Publish a content view
puppet-module View and manage puppet modules
remove Remove versions and/or environments from a content view and reassign systems and keys
remove-from-environment Remove a content view from an environment
remove-repository Disassociate a resource
remove-version Update a content view
update Update a content view
version View and manage content view versions
Options:
-h, --help print help
================================================================
- hammer content-view create --help
Usage:
hammer content-view create [OPTIONS]
Options:
--component-ids COMPONENT_IDS List of component content view version ids for composite views
Comma separated list of values.
--composite Create a composite content view
--description DESCRIPTION Description for the content view
--label LABEL Content view label
--name NAME Name of the content view
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
--repositories REPOSITORY_NAMES Comma separated list of values.
--repository-ids REPOSITORY_IDS repository ID
Comma separated list of values.
-h, --help print help
Version-Release number of selected component (if applicable):
Red Hat Satellite v 6.1
How reproducible:
Always
Actual results:
Currently "hammer content-view" does not provide copy feature, we have "Copy View" button in the satellite webui.
Expected results:
A customer would like to have "copy" feature in "hammer content-view" command.
Additional info: