# coder templates create Create a template from the current directory or as specified by flag ## Usage ```console coder templates create [name] [flags] ``` ## Flags ### --default-ttl Specify a default TTL for workspaces created from this template.
| | | | --- | --- | | Default | 24h0m0s | ### --directory, -d Specify the directory to create from, use '-' to read tar from stdin
| | | | --- | --- | | Default | . | ### --parameter-file Specify a file path with parameter values.
| | | | --- | --- | ### --provisioner-tag Specify a set of tags to target provisioner daemons.
| | | | --- | --- | | Default | [] | ### --variable Specify a set of values for Terraform-managed variables.
| | | | --- | --- | | Default | [] | ### --variables-file Specify a file path with values for Terraform-managed variables.
| | | | --- | --- | ### --yes, -y Bypass prompts
| | | | --- | --- | | Default | false |