2.54. hammer package-group
操作软件包组
Usage: hammer package-group [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a package group list, index List package_groups Options: -h, --help Print help
2.54.1. hammer package-group info
显示软件包组
Usage: hammer package-group <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 package group 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 Package group name | x | x | x Repository name | x | x | Uuid | x | x | Description | x | x | Default packages | x | x | Mandatory packages | x | x | Conditional packages | x | x | Optional packages | x | x | ---------------------|-----|---------|-----
2.54.2. hammer package-group list
list package_groups
Usage: hammer package-group <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 --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 | THIN -------------------|-----|---------|----- Id | x | x | x Package group name | x | x | x Repository name | x | x | Uuid | x | x | -------------------|-----|---------|-----