2.25. hammer fact

fact を検索します。

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

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

Subcommands:
 list                          List all fact values

Options:
 -h, --help                    Print help

2.25.1. hammer fact list

ファクト値の一覧を表示します。

Usage:
    hammer fact list [OPTIONS]

Options:
 --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
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Filter results
 -h, --help                              Print help

Predefined field sets:
  -------|-----|--------
  FIELDS | ALL | DEFAULT
  -------|-----|--------
  Host   | x   | x
  Fact   | x   | x
  Value  | x   | x
  -------|-----|--------

Search / Order fields:
  fact                string
  fact_short_name     string
  facts               string
  host                string
  host.hostgroup      string
  host_id             integer
  location            string
  location_id         integer
  name                string
  organization        string
  organization_id     integer
  origin              string
  reported_at         datetime
  short_name          string
  type                string
  value               string