2.56.4. hammer product list
List products
Usage:
hammer product <list|index> [OPTIONS]
Options:
--available-for AVAILABLE_FOR Interpret specified object to return only Products that can be associated
With specified object. Only 'sync_plan' is supported.
--custom CUSTOM Return custom products only
One of true/false, yes/no, 1/0.
--enabled ENABLED Return enabled products only
One of true/false, yes/no, 1/0.
--fields FIELDS Show specified fields or predefined field sets only. (See below)
Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
JSON is acceptable and preferred way for complex parameters
--full-result FULL_RESULT Whether or not to show all results
One of true/false, yes/no, 1/0.
--include-available-content INCLUDE_AVAILABLE_CONTENT Whether to include available content attribute in results
One of true/false, yes/no, 1/0.
--name NAME Filter products by name
--order ORDER Sort field and order, eg. 'id DESC'
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Filter products by organization
--organization-label ORGANIZATION_LABEL Organization label to search by
--organization-title ORGANIZATION_TITLE Organization title
--page PAGE Page number, starting at 1
--per-page PER_PAGE Number of results per page to return
--redhat-only REDHAT_ONLY Return Red Hat (non-custom) products only
One of true/false, yes/no, 1/0.
--search SEARCH Search string
--subscription SUBSCRIPTION_NAME Subscription name to search by
--subscription-id SUBSCRIPTION_ID Filter products by subscription
--sync-plan SYNC_PLAN_NAME Sync plan name to search by
--sync-plan-id SYNC_PLAN_ID Filter products by sync plan id
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
ID | x | x | x
Name | x | x | x
Description | x | x |
Organization | x | x |
Repositories | x | x |
Sync State | x | x |
-------------|-----|---------|-----
Search / Order fields:
description text
label string
name string
organization_id integer
redhat Values: true, false