2.21. hammer deb-package


操作 deb 软件包

Usage:
    hammer deb-package [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 info, show                    Show a deb
 list, index                   List debs

Options:
 -h, --help                    Print help

2.21.1. hammer deb-package info

显示 deb

Usage:
    hammer deb-package <info|show> [OPTIONS]

Options:
 --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
 --id ID                                 A deb identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --repository REPOSITORY_NAME            Repository name to search by
 --repository-id REPOSITORY_ID           Repository identifier
 -h, --help                              Print help

Predefined field sets:
  ----------------------|-----|---------|-----
  FIELDS                | ALL | DEFAULT | THIN
  ----------------------|-----|---------|-----
  Id                    | x   | x       | x
  Pulp id               | x   | x       |
  Uuid                  | x   | x       |
  Name                  | x   | x       | x
  Version               | x   | x       |
  Checksum              | x   | x       |
  Architecture          | x   | x       |
  Nav                   | x   | x       |
  Nva                   | x   | x       |
  Filename              | x   | x       |
  Available host count  | x   | x       |
  Applicable host count | x   | x       |
  Description           | x   | x       |
  ----------------------|-----|---------|-----

2.21.2. hammer deb-package list

列出 debs

Usage:
    hammer deb-package <list|index> [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                          Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME            Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID           Content view filter identifier
 --content-view-filter-rule CONTENT_VIEW_FILTER_RULE_NAME  Name to search by
 --content-view-filter-rule-id CONTENT_VIEW_FILTER_RULE_ID Content view filter rule identifier
 --content-view-id CONTENT_VIEW_ID                         Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION       Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID         Content view version identifier
 --environment ENVIRONMENT_NAME                            Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
 --environment-id ENVIRONMENT_ID                           (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --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.
 --ids IDS                                                 Ids to filter content by
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --include-filter-ids INCLUDE_FILTER_IDS                   Includes associated content view filter ids in response
                                                           One of true/false, yes/no, 1/0.
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME        Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --order ORDER                                             Sort field and order, eg. 'id DESC'
 --organization ORGANIZATION_NAME                          Organization name to search by
 --organization-id ORGANIZATION_ID                         Organization identifier
 --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
 --product PRODUCT_NAME                                    Product name to search by
 --product-id PRODUCT_ID                                   Product numeric identifier
 --repository REPOSITORY_NAME                              Repository name to search by
 --repository-id REPOSITORY_ID                             Repository identifier
 --search SEARCH                                           Search string
 -h, --help                                                Print help

Predefined field sets:
  ---------|-----|--------
  FIELDS   | ALL | DEFAULT
  ---------|-----|--------
  Id       | x   | x
  Filename | x   | x
  ---------|-----|--------
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.