検索

2.29. hammer export-templates

download PDF

テンプレートを git repo またはサーバー上のディレクトリーにエクスポートします。

Usage:
    hammer export-templates [OPTIONS]

Options:
 --branch BRANCH                             Branch in Git repo.
 --commit-msg COMMIT_MSG                     Custom commit message for templates export
 --dirname DIRNAME                           The directory within Git repo containing the templates
 --filter FILTER                             Export templates with names matching this regex (case-insensitive; snippets are not filtered).
 --location LOCATION_NAME                    Set the current location context for the request
 --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
 --location-title LOCATION_TITLE             Set the current location context for the request
 --location-titles LOCATION_TITLES           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
 --metadata-export-mode METADATA_EXPORT_MODE Specify how to handle metadata
                                             Possible value(s): 'refresh', 'keep', 'remove'
 --negate NEGATE                             Negate the prefix (for purging).
                                             One of true/false, yes/no, 1/0.
 --organization ORGANIZATION_NAME            Set the current organization context for the request
 --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
 --organization-title ORGANIZATION_TITLE     Set the current organization context for the request
 --organization-titles ORGANIZATION_TITLES   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
 --repo REPO                                 Override the default repo from settings.
 --verbose BE_VERBOSE                        Be verbose
                                             One of true/false, yes/no, 1/0.
 -h, --help                                  Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.