2.82. hammer tailoring-file
テーラリングファイルを操作します。
Usage: hammer tailoring-file [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a Tailoring file delete, destroy Deletes a Tailoring file download Download a Tailoring file as XML info, show Show a Tailoring file list, index List Tailoring files update Update a Tailoring file Options: -h, --help Print help
2.82.1. hammer tailoring-file create
テーラリングファイルを作成します。
Usage: hammer tailoring-file create [OPTIONS] Options: --location LOCATION_NAME Name to search by --location-id LOCATION_ID Set the current location context for the request --location-ids LOCATION_IDS REPLACE locations with given ids Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --locations LOCATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --name NAME Tailoring file name --organization ORGANIZATION_NAME Name to search by --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-ids ORGANIZATION_IDS REPLACE organizations with given ids. Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --organizations ORGANIZATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --original-filename ORIGINAL_FILENAME Original file name of the XML file --scap-file SCAP_FILE Tailoring file content -h, --help Print help
2.82.2. hammer tailoring-file delete
テーラリングファイルを削除します。
Usage: hammer tailoring-file <delete|destroy> [OPTIONS] Options: --id ID --location LOCATION_NAME Set the current location context for the request --location-id LOCATION_ID Set the current location context for the request --location-title LOCATION_TITLE Set the current location context for the request --name NAME Name to search by --organization ORGANIZATION_NAME Set the current organization context for the request --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-title ORGANIZATION_TITLE Set the current organization context for the request -h, --help Print help
2.82.3. hammer tailoring-file download
XML としてテーラリングファイルをダウンロードします。
Usage: hammer tailoring-file download [OPTIONS] Options: --id ID --location LOCATION_NAME Name to search by --location-id LOCATION_ID Set the current location context for the request --name NAME Tailoring file name --organization ORGANIZATION_NAME Name to search by --organization-id ORGANIZATION_ID Set the current organization context for the request --path PATH Path to directory where downloaded file will be saved -h, --help Print help
2.82.4. hammer tailoring-file info
テーラリングファイルを表示します。
Usage: hammer tailoring-file <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 --location LOCATION_NAME Name to search by --location-id LOCATION_ID Set the current location context for the request --name NAME Tailoring file name --organization ORGANIZATION_NAME Name to search by --organization-id ORGANIZATION_ID Set the current organization context for the request -h, --help Print help Predefined field sets: -----------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Created at | x | x | Original filename | x | x | Tailoring file profiles/id | x | x | Tailoring file profiles/profile id | x | x | Tailoring file profiles/title | x | x | Locations/ | x | x | Organizations/ | x | x | -----------------------------------|-----|---------|-----
2.82.5. hammer tailoring-file list
テーラリングファイルの一覧を表示します。
Usage: hammer tailoring-file <list|index> [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 --location LOCATION_NAME Set the current location context for the request --location-id LOCATION_ID Set the current location context for the request --location-title LOCATION_TITLE Set the current location context for the request --order ORDER Sort field and order, eg. ‘id DESC’ --organization ORGANIZATION_NAME Set the current organization context for the request --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-title ORGANIZATION_TITLE Set the current organization context for the request --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return, 'all' to return all results --search SEARCH Filter results -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | x | x | x -------|-----|---------|----- Search / Order fields: created_at datetime filename string location string location_id integer name string organization string organization_id integer
2.82.6. hammer tailoring-file update
テーラリングファイルを更新します。
Usage: hammer tailoring-file update [OPTIONS] Options: --id ID --location LOCATION_NAME Name to search by --location-id LOCATION_ID Set the current location context for the request --location-ids LOCATION_IDS REPLACE locations with given ids Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --locations LOCATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --name NAME Tailoring file name --new-name NEW_NAME Tailoring file name --organization ORGANIZATION_NAME Name to search by --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-ids ORGANIZATION_IDS REPLACE organizations with given ids. Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --organizations ORGANIZATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --original-filename ORIGINAL_FILENAME Original file name of the XML file --scap-file SCAP_FILE Tailoring file content -h, --help Print help