このコンテンツは選択した言語では利用できません。

Chapter 34. export-templates


Export templates to a git repo or a directory on the server

Usage

# hammer export-templates [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --branch VALUE – Branch in Git repo.
  • --commit-msg VALUE – Custom commit message for templates export
  • --dirname VALUE – Directory within Git repo containing the templates.
  • --filter VALUE – Export templates with names matching this regex (case-insensitive; snippets are not filtered).
  • --http-proxy VALUE – Name to search by
  • --http-proxy-id NUMBER – ID of an HTTP proxy to use for template sync. Use this parameter together with http_proxy_policy`:`selected
  • --http-proxy-policy ENUM – HTTP proxy policy for template sync. Use only when synchronizing templates through the HTTP or the HTTPS protocol. If you choose selected, provide the http_proxy_id parameter. Possible value(s): global, none, selected
  • --location VALUE – Set the current location context for the request
  • --location-id NUMBER – Set the current location context for the request
  • --location-ids LIST – REPLACE locations with given ids
  • --location-title VALUE – Set the current location context for the request
  • --location-titles LIST
  • --locations LIST
  • --metadata-export-mode ENUM – Specify how to handle metadata Possible value(s): refresh, keep, remove
  • --negate BOOLEAN – Negate the prefix (for purging).
  • --organization VALUE – Set the current organization context for the request
  • --organization-id NUMBER – Set the current organization context for the request
  • --organization-ids LIST – REPLACE organizations with given ids.
  • --organization-title VALUE – Set the current organization context for the request
  • --organization-titles LIST
  • --organizations LIST
  • --repo VALUE – Override the default repo from settings.
  • --verbose BOOLEAN – Be verbose
  • -h, --help – Print help
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

Theme

© 2025 Red Hat