2.18.7.2. hammer content-view filter create
create a filter for a content view
Usage: hammer content-view filter create [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID Content view identifier --description DESCRIPTION Description of the filter --inclusion INCLUSION Specifies if content should be included or excluded, default: Inclusion=false One of true/false, yes/no, 1/0. --name NAME Name of the filter --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 --original-module-streams ORIGINAL_MODULE_STREAMS Add all module streams without errata to the included/excluded list. (module stream filter only) One of true/false, yes/no, 1/0. --original-packages ORIGINAL_PACKAGES Add all packages without errata to the included/excluded list. (package Filter only) One of true/false, yes/no, 1/0. --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID Product numeric identifier --repositories REPOSITORY_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --repository-ids REPOSITORY_IDS List of repository ids Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --type TYPE Type of filter (e.g. rpm, package_group, erratum, docker, modulemd) -h, --help Print help
Usage:
hammer content-view filter create [OPTIONS]
Options:
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID Content view identifier
--description DESCRIPTION Description of the filter
--inclusion INCLUSION Specifies if content should be included or excluded, default:
Inclusion=false
One of true/false, yes/no, 1/0.
--name NAME Name of the filter
--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
--original-module-streams ORIGINAL_MODULE_STREAMS Add all module streams without errata to the included/excluded list.
(module stream filter only)
One of true/false, yes/no, 1/0.
--original-packages ORIGINAL_PACKAGES Add all packages without errata to the included/excluded list. (package
Filter only)
One of true/false, yes/no, 1/0.
--product PRODUCT_NAME Product name to search by
--product-id PRODUCT_ID Product numeric identifier
--repositories REPOSITORY_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
JSON is acceptable and preferred way for complex parameters
--repository-ids REPOSITORY_IDS List of repository ids
Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
JSON is acceptable and preferred way for complex parameters
--type TYPE Type of filter (e.g. rpm, package_group, erratum, docker, modulemd)
-h, --help Print help