2.26. hammer file

ファイルを操作します。

Usage:
    hammer file [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 info                          Show a file
 list                          List files

Options:
 -h, --help                    Print help

2.26.1. hammer file info

ファイルを表示します。

Usage:
    hammer file info [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --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 ID
 --fields FIELDS                                     Show specified fileds or predefined filed 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 file identifier
 --name NAME                                         File name to search by
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --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 ID
 -h, --help                                          Print help

Predefined field sets:
  ---------|-----|---------|-----
  FIELDS   | ALL | DEFAULT | THIN
  ---------|-----|---------|-----
  ID       | x   | x       |
  Name     | x   | x       | x
  Path     | x   | x       |
  UUID     | x   | x       |
  Checksum | x   | x       |
  ---------|-----|---------|-----