2.36. hammer import-templates
テンプレートを git repo またはサーバー上のディレクトリーからインポートします。
Usage: hammer import-templates [OPTIONS] Options: --associate ASSOCIATE Associate to OS's, Locations & Organizations. Options are: always, New or never. Possible value(s): 'always', 'new', 'never' --branch BRANCH Branch in Git repo. --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). --force FORCE Update templates that are locked One of true/false, yes/no, 1/0. --location LOCATION_NAME Location name --location-id LOCATION_ID --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 Location title --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 --lock LOCK Lock imported templates One of true/false, yes/no, 1/0. --negate NEGATE Negate the prefix (for purging). One of true/false, yes/no, 1/0. --organization ORGANIZATION_NAME Organization name --organization-id ORGANIZATION_ID Organization ID --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 Organization title --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 --prefix PREFIX The string all imported templates should begin with. --repo REPO Override the default repo from settings. --verbose VERBOSE Show template diff in response One of true/false, yes/no, 1/0. -h, --help Print help
Usage:
hammer import-templates [OPTIONS]
Options:
--associate ASSOCIATE Associate to OS's, Locations & Organizations. Options are: always,
New or never.
Possible value(s): 'always', 'new', 'never'
--branch BRANCH Branch in Git repo.
--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).
--force FORCE Update templates that are locked
One of true/false, yes/no, 1/0.
--location LOCATION_NAME Location name
--location-id LOCATION_ID
--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 Location title
--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
--lock LOCK Lock imported templates
One of true/false, yes/no, 1/0.
--negate NEGATE Negate the prefix (for purging).
One of true/false, yes/no, 1/0.
--organization ORGANIZATION_NAME Organization name
--organization-id ORGANIZATION_ID Organization ID
--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 Organization title
--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
--prefix PREFIX The string all imported templates should begin with.
--repo REPO Override the default repo from settings.
--verbose VERBOSE Show template diff in response
One of true/false, yes/no, 1/0.
-h, --help Print help