2.20. Hammer 内容视图

操作内容视图

Usage:
    hammer content-view [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-repository                Associate a resource
 add-version                   Add a content view version to a composite view
 component                     View and manage components
 copy                          Copy a content view
 create                        Create a content view
 delete                        Delete a content view
 filter                        View and manage filters
 info, show                    Show a content view
 list, index                   List content views
 publish                       Publish a content view
 purge                         Delete old versions of a content view
 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                Remove a content view version from a composite view
 update                        Update a content view
 version                       View and manage content view versions

Options:
 -h, --help                    Print help

2.20.1. Hammer content-view add-repository

关联资源

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

Options:
 --id VALUE                    Content view numeric identifier
 --name VALUE                  Content view name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 --product VALUE               Product name to search by
 --product-id NUMBER           Product numeric identifier
 --repository VALUE            Repository name to search by
 --repository-id NUMBER        Repository ID
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.2. Hammer content-view add-version

将内容视图版本添加到复合视图

Usage:
    hammer content-view add-version [OPTIONS]

Options:
 --content-view VALUE             Content view name to search by
 --content-view-id NUMBER         Content view id to search by
 --content-view-version VALUE     Content view version number
 --content-view-version-id NUMBER Content view version identifier
 --id VALUE                       Content view numeric identifier
 --name VALUE                     Content view name to search by
 --organization VALUE             Organization name to search by
 --organization-id VALUE          Organization ID to search by
 --organization-label VALUE       Organization label to search by
 -h, --help                       Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.3. Hammer 内容查看组件

查看并管理组件

Usage:
    hammer content-view component [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add                           Add components to the content view
 list, index                   List components attached to this content view
 remove                        Remove components from the content view
 update                        Update a component associated with the content view

Options:
 -h, --help                    Print help

2.20.3.1. Hammer 内容查看组件添加

在内容视图中添加组件

Usage:
    hammer content-view component add [OPTIONS]

Options:
 --component-content-view VALUE            Content View name of the component who's latest version is desired
 --component-content-view-id VALUE         Content View identifier of the component who's latest version is desired
 --component-content-view-version VALUE    Content View Version number of the component. Either use this or
                                           --component-content-view-version-id option
 --component-content-view-version-id VALUE Content View Version identifier of the component
 --composite-content-view VALUE            Name of the composite content view
 --composite-content-view-id NUMBER        Composite content view identifier
 --latest                                  Select the latest version of the components content view is desired
 --organization VALUE                      Organization name to search by
 --organization-id VALUE                   Organization ID to search by
 --organization-label VALUE                Organization label to search by
 -h, --help                                Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.3.2. Hammer 内容查看组件列表

列出附加到此内容视图的组件

Usage:
    hammer content-view component <list|index> [OPTIONS]

Options:
 --composite-content-view VALUE     Name of the composite content view
 --composite-content-view-id NUMBER Composite content view id
 --fields LIST                      Show specified fields or predefined field sets only. (See below)
 --organization[-id|-label] VALUE   Organization name/label/id to search by
 -h, --help                         Print help

Predefined field sets:
  ----------------|-----|---------|-----
  FIELDS          | ALL | DEFAULT | THIN
  ----------------|-----|---------|-----
  Content view id | x   | x       |
  Name            | x   | x       |
  Version         | x   | x       |
  Component id    | x   | x       | x
  Current version | x   | x       |
  Version id      | x   | x       |
  ----------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.3.3. Hammer 内容查看组件删除

从内容视图中删除组件

Usage:
    hammer content-view component remove [OPTIONS]

Options:
 --component-content-view-ids VALUE Array of component content view identfiers to remove. Comma separated list of
                                    values
 --component-content-views VALUE    Array of component content view names to remove. Comma separated list of values
 --component-ids LIST               Array of content view component IDs to remove. Identifier of the component
                                    association
 --composite-content-view VALUE     Name of the composite content view
 --composite-content-view-id NUMBER Composite content view identifier
 --organization VALUE               Organization name to search by
 --organization-id VALUE            Organization ID to search by
 --organization-label VALUE         Organization label to search by
 -h, --help                         Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.3.4. Hammer 内容查看组件更新

更新与内容视图关联的组件

Usage:
    hammer content-view component update [OPTIONS]

Options:
 --component-content-view VALUE            Content View name of the component who's latest version is desired
 --component-content-view-id VALUE         Content View identifier of the component who's latest version is desired
 --component-content-view-version VALUE    Content View Version number of the component. Either use this or
                                           --component-content-view-version-id option
 --component-content-view-version-id VALUE Content View Version identifier of the component
 --composite-content-view VALUE            Name of the composite content view
 --composite-content-view-id NUMBER        Composite content view identifier
 --id NUMBER                               Content view component ID. Identifier of the component association
 --latest                                  Select the latest version of the components content view is desired
 --organization VALUE                      Organization name to search by
 --organization-id VALUE                   Organization ID to search by
 --organization-label VALUE                Organization label to search by
 -h, --help                                Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.4. Hammer 内容查看副本

复制内容视图

Usage:
    hammer content-view copy [OPTIONS]

Options:
 --id NUMBER                   Content view numeric identifier
 --name VALUE                  Content view name to search by
 --new-name VALUE              New content view name
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.5. Hammer 内容视图创建

创建内容视图

Usage:
    hammer content-view create [OPTIONS]

Options:
 --auto-publish BOOLEAN        Enable/Disable auto publish of composite view
 --component-ids LIST          List of component content view version ids for composite views
 --composite                   Create a composite content view
 --description VALUE           Description for the content view
 --import-only                 Designate this Content View for importing from upstream servers only.
 --label VALUE                 Content view label
 --name VALUE                  Name of the content view
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --repository-ids LIST         List of repository ids
 --solve-dependencies BOOLEAN  Solve RPM dependencies by default on Content View publish, defaults to false
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.6. Hammer 内容查看删除

删除内容视图

Usage:
    hammer content-view delete [OPTIONS]

Options:
 --async                       Do not wait for the task
 --id NUMBER                   Content view numeric identifier
 --name VALUE                  Content view name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.7. Hammer content-view 过滤器

查看和管理过滤器

Usage:
    hammer content-view filter [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-repository                Associate a resource
 create                        Create a filter for a content view
 delete, destroy               Delete a filter
 info, show                    Show filter info
 list, index                   List filters
 remove-repository             Disassociate a resource
 rule                          View and manage filter rules
 update                        Update a filter

Options:
 -h, --help                    Print help

2.20.7.1. Hammer content-view 过滤器 add-repository

关联资源

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

Options:
 --content-view VALUE          Content view name to search by
 --content-view-id NUMBER      Content view numeric identifier
 --id VALUE                    Filter identifier
 --name VALUE                  Name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 --product VALUE               Product name to search by
 --product-id NUMBER           Product numeric identifier
 --repository VALUE            Repository name to search by
 --repository-id NUMBER        Repository ID
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.7.2. Hammer content-view 过滤器创建

为内容视图创建过滤器

Usage:
    hammer content-view filter create [OPTIONS]

Options:
 --content-view VALUE              Content view name to search by
 --content-view-id NUMBER          Content view identifier
 --description VALUE               Description of the filter
 --inclusion BOOLEAN               Specifies if content should be included or excluded, default: inclusion=false
 --name VALUE                      Name of the filter
 --organization VALUE              Organization name to search by
 --organization-id VALUE           Organization ID to search by
 --organization-label VALUE        Organization label to search by
 --original-module-streams BOOLEAN Add all module streams without errata to the included/excluded list. (module
                                   stream filter only)
 --original-packages BOOLEAN       Add all packages without errata to the included/excluded list. (package filter
                                   only)
 --product VALUE                   Product name to search by
 --product-id NUMBER               Product numeric identifier
 --repositories LIST
 --repository-ids LIST             List of repository ids
 --type VALUE                      Type of filter (e.g. rpm, package_group, erratum, erratum_id, erratum_date,
                                   docker, modulemd)
 -h, --help                        Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.7.3. Hammer content-view 过滤器删除

删除过滤器

Usage:
    hammer content-view filter <delete|destroy> [OPTIONS]

Options:
 --content-view VALUE          Content view name to search by
 --content-view-id NUMBER      Content view identifier
 --id NUMBER                   Filter identifier
 --name VALUE                  Name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.7.4. Hammer content-view 过滤信息

显示过滤信息

Usage:
    hammer content-view filter <info|show> [OPTIONS]

Options:
 --content-view VALUE          Content view name to search by
 --content-view-id NUMBER      Content view identifier
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id NUMBER                   Filter identifier
 --name VALUE                  Name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 -h, --help                    Print help

Predefined field sets:
  ----------------------|-----|---------|-----
  FIELDS                | ALL | DEFAULT | THIN
  ----------------------|-----|---------|-----
  Filter id             | x   | x       | x
  Name                  | x   | x       | x
  Type                  | x   | x       |
  Inclusion             | x   | x       |
  Description           | x   | x       |
  Repositories/id       | x   | x       |
  Repositories/name     | x   | x       |
  Repositories/label    | x   | x       |
  Rules/id              | x   | x       |
  Rules/name            | x   | x       |
  Rules/version         | x   | x       |
  Rules/minimum version | x   | x       |
  Rules/maximum version | x   | x       |
  Rules/errata id       | x   | x       |
  Rules/start date      | x   | x       |
  Rules/end date        | x   | x       |
  Rules/types           | x   | x       |
  Rules/created         | x   | x       |
  Rules/updated         | x   | x       |
  ----------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.7.5. Hammer content-view 过滤器列表

列出过滤器

Usage:
    hammer content-view filter <list|index> [OPTIONS]

Options:
 --content-view VALUE          Content view name to search by
 --content-view-id NUMBER      Content view identifier
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN         Whether or not to show all results
 --name VALUE                  Filter content view filters by name
 --order VALUE                 Sort field and order, eg. 'id DESC'
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 --page NUMBER                 Page number, starting at 1
 --per-page NUMBER             Number of results per page to return
 --search VALUE                Search string
 --types LIST                  Types of filters
 -h, --help                    Print help

Predefined field sets:
  ------------|-----|---------|-----
  FIELDS      | ALL | DEFAULT | THIN
  ------------|-----|---------|-----
  Filter id   | x   | x       | x
  Name        | x   | x       | x
  Description | x   | x       |
  Type        | x   | x       |
  Inclusion   | x   | x       |
  ------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

Search / Order fields:
  content_type        Values: rpm, package_group, erratum, docker, modulemd
  inclusion_type      Values: include, exclude
  name                string

2.20.7.6. Hammer content-view 过滤器 remove-repository

解除资源关联

Usage:
    hammer content-view filter remove-repository [OPTIONS]

Options:
 --content-view VALUE          Content view name to search by
 --content-view-id NUMBER      Content view numeric identifier
 --id VALUE                    Filter identifier
 --name VALUE                  Name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 --product VALUE               Product name to search by
 --product-id NUMBER           Product numeric identifier
 --repository VALUE            Repository name to search by
 --repository-id NUMBER        Repository ID
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.7.7. Hammer content-view 过滤规则

查看和管理过滤器规则

Usage:
    hammer content-view filter rule [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a filter rule. The parameters included should be based upon the filter
                               type.
 delete, destroy               Delete a filter rule
 info, show                    Show filter rule info
 list, index                   List filter rules
 update                        Update a filter rule. The parameters included should be based upon the filter
                               type.

Options:
 -h, --help                    Print help
2.20.7.7.1. Hammer 内容-view 过滤规则 create

创建过滤器规则。所包含的参数应基于过滤器类型。

Usage:
    hammer content-view filter rule create [OPTIONS]

Options:
 --architecture VALUE            Package: architecture
 --content-view VALUE            Content view name to search by
 --content-view-filter VALUE     Name to search by
 --content-view-filter-id NUMBER Filter identifier
 --content-view-id NUMBER
 --date-type VALUE               Erratum: search using the 'Issued On' or 'Updated On' column of the errata.
                                 Values are 'issued'/'updated'
 --end-date VALUE                Erratum: end date (YYYY-MM-DD)
 --errata-id VALUE               Erratum: id
 --errata-ids LIST               Erratum: IDs or a select all object
 --max-version VALUE             Package: maximum version
 --min-version VALUE             Package: minimum version
 --module-stream-ids LIST        Module stream ids
 --name LIST                     Package, package group, or docker tag names
 --names VALUE                   Package and package group names
 --organization VALUE            Organization name to search by
 --organization-id VALUE         Organization ID to search by
 --organization-label VALUE      Organization label to search by
 --start-date VALUE              Erratum: start date (YYYY-MM-DD)
 --types LIST                    Erratum: types (enhancement, bugfix, security)
 --uuid VALUE                    Package group: uuid
 --version VALUE                 Package: version
 -h, --help                      Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string
2.20.7.7.2. Hammer content-view 过滤器规则 delete

删除过滤器规则

Usage:
    hammer content-view filter rule <delete|destroy> [OPTIONS]

Options:
 --content-view VALUE            Content view name to search by
 --content-view-filter VALUE     Name to search by
 --content-view-filter-id NUMBER Filter identifier
 --content-view-id NUMBER
 --id NUMBER                     Rule identifier
 --name VALUE                    Name to search by
 --organization VALUE            Organization name to search by
 --organization-id VALUE         Organization ID to search by
 --organization-label VALUE      Organization label to search by
 -h, --help                      Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string
2.20.7.7.3. Hammer content-view 过滤规则信息

显示过滤规则信息

Usage:
    hammer content-view filter rule <info|show> [OPTIONS]

Options:
 --content-view VALUE            Content view name to search by
 --content-view-filter VALUE     Name to search by
 --content-view-filter-id NUMBER Filter identifier
 --content-view-id NUMBER
 --fields LIST                   Show specified fields or predefined field sets only. (See below)
 --id NUMBER                     Rule identifier
 --name VALUE                    Name to search by
 --organization VALUE            Organization name to search by
 --organization-id VALUE         Organization ID to search by
 --organization-label VALUE      Organization label to search by
 -h, --help                      Print help

Predefined field sets:
  ----------------|-----|---------|-----
  FIELDS          | ALL | DEFAULT | THIN
  ----------------|-----|---------|-----
  Rule id         | x   | x       | x
  Filter id       | x   | x       |
  Name            | x   | x       | x
  Version         | x   | x       |
  Minimum version | x   | x       |
  Maximum version | x   | x       |
  Architecture    | x   | x       |
  Errata id       | x   | x       |
  Start date      | x   | x       |
  End date        | x   | x       |
  Date type       | x   | x       |
  Types           | x   | x       |
  Created         | x   | x       |
  Updated         | x   | x       |
  ----------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string
2.20.7.7.4. Hammer content-view 过滤器规则列表

列出过滤规则

Usage:
    hammer content-view filter rule <list|index> [OPTIONS]

Options:
 --content-view VALUE            Content view name to search by
 --content-view-filter VALUE     Name to search by
 --content-view-filter-id NUMBER Filter identifier
 --content-view-id NUMBER
 --errata-id VALUE               Errata_id of the content view filter rule
 --fields LIST                   Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN           Whether or not to show all results
 --name VALUE                    Name of the content view filter rule
 --order VALUE                   Sort field and order, eg. 'id DESC'
 --organization VALUE            Organization name to search by
 --organization-id VALUE         Organization ID to search by
 --organization-label VALUE      Organization label to search by
 --page NUMBER                   Page number, starting at 1
 --per-page NUMBER               Number of results per page to return
 --search VALUE                  Search string
 -h, --help                      Print help

Predefined field sets:
  ----------------|-----|---------|-----
  FIELDS          | ALL | DEFAULT | THIN
  ----------------|-----|---------|-----
  Rule id         | x   | x       | x
  Filter id       | x   | x       |
  Name            | x   | x       | x
  Version         | x   | x       |
  Minimum version | x   | x       |
  Maximum version | x   | x       |
  Architecture    | x   | x       |
  Errata id       | x   | x       |
  Start date      | x   | x       |
  End date        | x   | x       |
  ----------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string
2.20.7.7.5. Hammer 内容-view 过滤规则更新

更新过滤器规则。所包含的参数应基于过滤器类型。

Usage:
    hammer content-view filter rule update [OPTIONS]

Options:
 --architecture VALUE            Package: architecture
 --content-view VALUE            Content view name to search by
 --content-view-filter VALUE     Name to search by
 --content-view-filter-id NUMBER Filter identifier
 --content-view-id NUMBER
 --end-date VALUE                Erratum: end date (YYYY-MM-DD)
 --errata-id VALUE               Erratum: id
 --id NUMBER                     Rule identifier
 --max-version VALUE             Package: maximum version
 --min-version VALUE             Package: minimum version
 --name VALUE                    Package, package group, or docker tag: name
 --new-name VALUE                Package, package group, or docker tag: name
 --organization VALUE            Organization name to search by
 --organization-id VALUE         Organization ID to search by
 --organization-label VALUE      Organization label to search by
 --start-date VALUE              Erratum: start date (YYYY-MM-DD)
 --types LIST                    Erratum: types (enhancement, bugfix, security)
 --version VALUE                 Package: version
 -h, --help                      Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.7.8. Hammer 内容-view 过滤器更新

更新过滤器

Usage:
    hammer content-view filter update [OPTIONS]

Options:
 --content-view VALUE              Content view name to search by
 --content-view-id NUMBER          Content view identifier
 --description VALUE               Description of the filter
 --id NUMBER                       Filter identifier
 --inclusion BOOLEAN               Specifies if content should be included or excluded, default: inclusion=false
 --name VALUE                      New name for the filter
 --new-name VALUE                  New name for the filter
 --organization VALUE              Organization name to search by
 --organization-id VALUE           Organization ID to search by
 --organization-label VALUE        Organization label to search by
 --original-module-streams BOOLEAN Add all module streams without errata to the included/excluded list. (module
                                   stream filter only)
 --original-packages BOOLEAN       Add all packages without errata to the included/excluded list. (package filter
                                   only)
 --repositories LIST
 --repository-ids LIST             List of repository ids
 -h, --help                        Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.8. Hammer 内容查看信息

显示内容视图

Usage:
    hammer content-view <info|show> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id NUMBER                   Content view numeric identifier
 --name VALUE                  Content view name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 -h, --help                    Print help

Predefined field sets:
  -----------------------------------|-----|---------|-----
  FIELDS                             | ALL | DEFAULT | THIN
  -----------------------------------|-----|---------|-----
  Id                                 | x   | x       | x
  Name                               | x   | x       | x
  Label                              | x   | x       |
  Composite                          | x   | x       |
  Description                        | x   | x       |
  Content host count                 | x   | x       |
  Solve dependencies                 | x   | x       |
  Organization                       | x   | x       |
  Yum repositories/id                | x   | x       |
  Yum repositories/name              | x   | x       |
  Yum repositories/label             | x   | x       |
  Container image repositories/id    | x   | x       |
  Container image repositories/name  | x   | x       |
  Container image repositories/label | x   | x       |
  Ostree repositories/id             | x   | x       |
  Ostree repositories/name           | x   | x       |
  Ostree repositories/label          | x   | x       |
  Lifecycle environments/id          | x   | x       |
  Lifecycle environments/name        | x   | x       |
  Versions/id                        | x   | x       |
  Versions/version                   | x   | x       |
  Versions/published                 | x   | x       |
  Components/id                      | x   | x       |
  Components/name                    | x   | x       |
  Activation keys/                   | x   | x       |
  -----------------------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.9. Hammer 内容查看列表

列出内容视图

Usage:
    hammer content-view <list|index> [OPTIONS]

Options:
 --composite BOOLEAN               Filter only composite content views
 --environment VALUE               Lifecycle environment name to search by (--environment is deprecated: Use
                                   --lifecycle-environment instead)
 --environment-id NUMBER           (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --fields LIST                     Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN             Whether or not to show all results
 --include-generated BOOLEAN       Include content views generated by imports/exports. Defaults to false
 --label VALUE                     Label of the content view
 --lifecycle-environment VALUE     Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER Environment identifier
 --name VALUE                      Name of the content view
 --noncomposite BOOLEAN            Filter out composite content views
 --nondefault BOOLEAN              Filter out default content views
 --order VALUE                     Sort field and order, eg. 'id DESC'
 --organization VALUE              Organization name to search by
 --organization-id NUMBER          Organization identifier
 --organization-label VALUE        Organization label to search by
 --organization-title VALUE        Organization title
 --page NUMBER                     Page number, starting at 1
 --per-page NUMBER                 Number of results per page to return
 --search VALUE                    Search string
 --without LIST                    Do not include this array of content views
 -h, --help                        Print help

Predefined field sets:
  ----------------|-----|---------|-----
  FIELDS          | ALL | DEFAULT | THIN
  ----------------|-----|---------|-----
  Content view id | x   | x       | x
  Name            | x   | x       | x
  Label           | x   | x       |
  Composite       | x   | x       |
  Last published  | x   | x       |
  Repository ids  | x   | x       |
  ----------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

Search / Order fields:
  composite           boolean
  generated_for       integer
  label               string
  name                string
  organization_id     integer

2.20.10. Hammer 内容查看发布

发布内容视图

Usage:
    hammer content-view publish [OPTIONS]

Options:
 --async                          Do not wait for the task
 --description VALUE              Description for the new published content view version
 --id NUMBER                      Content view identifier
 --is-force-promote BOOLEAN       Force content view promotion and bypass lifecycle environment restriction
 --lifecycle-environment-ids LIST Identifiers for Lifecycle Environment
 --lifecycle-environments LIST    Names for Lifecycle Environment
 --major NUMBER                   Override the major version number
 --minor NUMBER                   Override the minor version number
 --name VALUE                     Content view name to search by
 --organization VALUE             Organization name to search by
 --organization-id VALUE          Organization ID to search by
 --organization-label VALUE       Organization label to search by
 --repos-units SCHEMA             Specify the list of units in each repo
 -h, --help                       Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

  Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):

  --repos-units       "label=<string>\,rpm_filenames=<array>, ... "

2.20.11. Hammer 内容查看清除

删除旧版本的内容视图

Usage:
    hammer content-view purge [OPTIONS]

Options:
 --async                       Do not wait for the task
 --count NUMBER                Count of unused versions to keep
                               Default: 3
 --id VALUE                    Content View numeric identifier
 --name VALUE                  Content View name
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.12. Hammer 内容查看删除

从内容视图中删除版本和/或环境,并重新分配系统和密钥

Usage:
    hammer content-view remove [OPTIONS]

Options:
 --async                          Do not wait for the task
 --content-view-version-ids LIST  Content view version identifiers to be deleted
 --content-view-versions LIST
 --destroy-content-view BOOLEAN   Delete the content view with all the versions and environments
 --environment-ids LIST           (--environment-ids is deprecated: Use --lifecycle-environment-ids instead)
 --environments LIST              (--environments is deprecated: Use --lifecycle-environments instead)
 --id NUMBER                      Content view numeric identifier
 --key-content-view-id NUMBER     Content view to reassign orphaned activation keys to
 --key-environment-id NUMBER      Environment to reassign orphaned activation keys to
 --lifecycle-environment-ids LIST Environment numeric identifiers to be removed
 --name VALUE                     Content view name to search by
 --organization VALUE             Organization name to search by
 --organization-id VALUE          Organization ID to search by
 --organization-label VALUE       Organization label to search by
 --system-content-view-id NUMBER  Content view to reassign orphaned systems to
 --system-environment-id NUMBER   Environment to reassign orphaned systems to
 -h, --help                       Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.13. Hammer content-view remove-from-environment

从环境中删除内容视图

Usage:
    hammer content-view remove-from-environment [OPTIONS]

Options:
 --async                           Do not wait for the task
 --environment VALUE               Lifecycle environment name to search by (--environment is deprecated: Use
                                   --lifecycle-environment instead)
 --environment-id NUMBER           (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id NUMBER                       Content view numeric identifier
 --lifecycle-environment VALUE     Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER Environment numeric identifier
 --name VALUE                      Content view name to search by
 --organization VALUE              Organization name to search by
 --organization-id VALUE           Organization ID to search by
 --organization-label VALUE        Organization label to search by
 -h, --help                        Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.14. Hammer content-view remove-repository

解除资源关联

Usage:
    hammer content-view remove-repository [OPTIONS]

Options:
 --id VALUE                    Content view numeric identifier
 --name VALUE                  Content view name to search by
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 --product VALUE               Product name to search by
 --product-id NUMBER           Product numeric identifier
 --repository VALUE            Repository name to search by
 --repository-id NUMBER        Repository ID
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.15. Hammer content-view remove-version

从复合视图中删除内容视图版本

Usage:
    hammer content-view remove-version [OPTIONS]

Options:
 --content-view VALUE             Content view name to search by
 --content-view-id NUMBER         Content view numeric identifier
 --content-view-version VALUE     Content view version number
 --content-view-version-id NUMBER Content view version identifier
 --id VALUE                       Content view numeric identifier
 --name VALUE                     Content view name to search by
 --organization VALUE             Organization name to search by
 --organization-id VALUE          Organization ID to search by
 --organization-label VALUE       Organization label to search by
 -h, --help                       Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.16. Hammer 内容查看更新

更新内容视图

Usage:
    hammer content-view update [OPTIONS]

Options:
 --auto-publish BOOLEAN        Enable/Disable auto publish of composite view
 --component-ids LIST          List of component content view version ids for composite views
 --description VALUE           Description for the content view
 --id NUMBER                   Content view identifier
 --import-only BOOLEAN         Designate this Content View for importing from upstream servers only. Defaults
                               to false
 --name VALUE                  New name for the content view
 --new-name VALUE              New name for the content view
 --organization VALUE          Organization name to search by
 --organization-id VALUE       Organization ID to search by
 --organization-label VALUE    Organization label to search by
 --repository-ids LIST         List of repository ids
 --solve-dependencies BOOLEAN  Solve RPM dependencies by default on Content View publish, defaults to false
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.17. Hammer 内容查看版本

查看和管理内容视图版本

Usage:
    hammer content-view version [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 delete                        Remove content view version
 incremental-update            Perform an Incremental Update on one or more Content View Versions
 info, show                    Show content view version
 list, index                   List content view versions
 promote                       Promote a content view version
 republish-repositories        Forces a republish of the version's repositories' metadata
 update                        Update a content view version

Options:
 -h, --help                    Print help

2.20.17.1. Hammer 内容查看版本删除

删除内容视图版本

Usage:
    hammer content-view version delete [OPTIONS]

Options:
 --async                           Do not wait for the task
 --content-view VALUE              Content view name to search by
 --content-view-id NUMBER          Content view numeric identifier
 --environment VALUE               Lifecycle environment name to search by (--environment is deprecated: Use
                                   --lifecycle-environment instead)
 --environment-id NUMBER           (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id NUMBER                       Content view version identifier
 --lifecycle-environment VALUE     Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER ID of the environment
 --organization VALUE              Organization name to search by
 --organization-id NUMBER          Organization ID
 --organization-label VALUE        Organization label to search by
 --organization-title VALUE        Organization title
 --version VALUE                   Content view version number
 -h, --help                        Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.17.2. Hammer 内容查看版本 incremental-update

在一个或多个内容视图版本上执行额外更新

Usage:
    hammer content-view version incremental-update [OPTIONS]

Options:
 --async                            Do not wait for the task
 --content-view-version VALUE       Content view version number
 --content-view-version-id NUMBER   Content View Version Ids to perform an incremental update on.  May contain
                                    composites as well as one or more components to update.
 --deb-ids LIST                     Deb Package ids to copy into the new versions
 --debs LIST
 --description VALUE                The description for the new generated Content View Versions
 --errata-ids LIST                  Errata ids to copy into the new versions
 --host-ids LIST                    IDs of hosts to update
 --lifecycle-environment-ids LIST   List of lifecycle environment IDs to update the content view version in
 --lifecycle-environments LIST      List of lifecycle environment names to update the content view version in
 --organization VALUE               Organization name for resolving lifecycle environment names
 --organization-id VALUE            Organization id for resolving lifecycle environment names
 --package-ids LIST                 Package ids to copy into the new versions
 --packages LIST
 --propagate-all-composites BOOLEAN If true, will publish a new composite version using any specified
                                    content_view_version_id that has been promoted to a lifecycle environment
 --resolve-dependencies BOOLEAN     If true, when adding the specified errata or packages, any needed dependencies
                                    will be copied as well. Defaults to true
 --update-all-hosts BOOLEAN         Update all editable and applicable hosts within the specified Content View and \
                                                   Lifecycle Environments
 -h, --help                         Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.17.3. Hammer 内容查看版本信息

显示内容视图版本

Usage:
    hammer content-view version <info|show> [OPTIONS]

Options:
 --content-view VALUE              Content view name to search by
 --content-view-id NUMBER          Content view numeric identifier
 --environment VALUE               Lifecycle environment name to search by (--environment is deprecated: Use
                                   --lifecycle-environment instead)
 --environment-id NUMBER           (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --fields LIST                     Show specified fields or predefined field sets only. (See below)
 --id NUMBER                       Content view version identifier
 --lifecycle-environment VALUE     Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER ID of the environment
 --organization VALUE              Organization name to search by
 --organization-id NUMBER          Organization ID
 --organization-label VALUE        Organization label to search by
 --organization-title VALUE        Organization title
 --version VALUE                   Content view version number
 -h, --help                        Print help

Predefined field sets:
  -----------------------------|-----|---------|-----
  FIELDS                       | ALL | DEFAULT | THIN
  -----------------------------|-----|---------|-----
  Id                           | x   | x       | x
  Name                         | x   | x       |
  Version                      | x   | x       | x
  Description                  | x   | x       |
  Content view id              | x   | x       |
  Content view name            | x   | x       |
  Content view label           | x   | x       |
  Lifecycle environments/id    | x   | x       |
  Lifecycle environments/name  | x   | x       |
  Lifecycle environments/label | x   | x       |
  Repositories/id              | x   | x       |
  Repositories/name            | x   | x       |
  Repositories/label           | x   | x       |
  -----------------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.17.4. Hammer 内容查看版本列表

列出内容视图版本

Usage:
    hammer content-view version <list|index> [OPTIONS]

Options:
 --composite-version-id NUMBER     Filter versions that are components in the specified composite version
 --content-view VALUE              Content view name to search by
 --content-view-id NUMBER          Content view identifier
 --environment VALUE               Lifecycle environment name to search by (--environment is deprecated: Use
                                   --lifecycle-environment instead)
 --environment-id NUMBER           (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --fields LIST                     Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN             Whether or not to show all results
 --lifecycle-environment VALUE     Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER Filter versions by environment
 --order VALUE                     Sort field and order, eg. 'id DESC'
 --organization VALUE              Organization name to search by
 --organization-id NUMBER          Organization identifier
 --organization-label VALUE        Organization label to search by
 --organization-title VALUE        Organization title
 --page NUMBER                     Page number, starting at 1
 --per-page NUMBER                 Number of results per page to return
 --search VALUE                    Search string
 --triggered-by-id NUMBER          Filter composite versions whose publish was triggered by the specified component
                                   version
 --version VALUE                   Filter versions by version number
 -h, --help                        Print help

Predefined field sets:
  -----------------------|-----|---------|-----
  FIELDS                 | ALL | DEFAULT | THIN
  -----------------------|-----|---------|-----
  Id                     | x   | x       | x
  Name                   | x   | x       |
  Version                | x   | x       | x
  Description            | x   | x       |
  Lifecycle environments | x   | x       |
  -----------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

Search / Order fields:
  content_view_id     integer
  repository          string
  version             string

2.20.17.5. Hammer 内容查看版本提升

提升内容视图版本

Usage:
    hammer content-view version promote [OPTIONS]

Options:
 --async                               Do not wait for the task
 --content-view VALUE                  Content view name to search by
 --content-view-id NUMBER              Content view numeric identifier
 --description VALUE                   The description for the content view version promotion
 --force                               Force content view promotion and bypass lifecycle environment restriction
 --from-lifecycle-environment VALUE    Environment name from where to promote its version from (if version is unknown)
 --from-lifecycle-environment-id VALUE Id of the environment from where to promote its version from (if version is
                                       unknown)
 --id NUMBER                           Content view version identifier
 --organization VALUE                  Organization name to search by
 --organization-id NUMBER              Organization ID
 --organization-label VALUE            Organization label to search by
 --organization-title VALUE            Organization title
 --to-lifecycle-environment VALUE      Name of the target environment
 --to-lifecycle-environment-id VALUE   Id of the target environment
 --version VALUE                       Content view version number
 -h, --help                            Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.17.6. Hammer 内容查看版本重新发布仓库

强制重新发布版本存储库的元数据

Usage:
    hammer content-view version republish-repositories [OPTIONS]

Options:
 --async                       Do not wait for the task
 --content-view VALUE          Content view name to search by
 --content-view-id NUMBER      Content view numeric identifier
 --force BOOLEAN               Force metadata regeneration to proceed.  Dangerous when repositories use the
                               'Complete Mirroring' mirroring policy
 --id NUMBER                   Content view version identifier
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization ID
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --version VALUE               Content view version number
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.20.17.7. Hammer 内容查看版本更新

更新内容视图版本

Usage:
    hammer content-view version update [OPTIONS]

Options:
 --content-view VALUE              Content view name to search by
 --content-view-id NUMBER          Content view numeric identifier
 --description VALUE               The description for the content view version
 --environment VALUE               Lifecycle environment name to search by (--environment is deprecated: Use
                                   --lifecycle-environment instead)
 --environment-id NUMBER           (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id NUMBER                       Content view version identifier
 --lifecycle-environment VALUE     Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER ID of the environment
 --new-version VALUE
 --organization VALUE              Organization name to search by
 --organization-id NUMBER          Organization ID
 --organization-label VALUE        Organization label to search by
 --organization-title VALUE        Organization title
 --version VALUE                   Content view version number
 -h, --help                        Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string