Files
coder/cli/testdata/coder_templates_push_--help.golden
T
goodspark e2613c91a7 feat(cli): support non-active template version pushes (#7488)
So that we can push template updates for testing without impacting
normal users of the template.

---------

Co-authored-by: Ammar Bandukwala <ammar@ammar.io>
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
Co-authored-by: Atif Ali <atif@coder.com>
2023-06-03 22:39:00 +00:00

1.0 KiB

Usage: coder templates push [flags] [template]
 
Push a new template version from the current directory or as specified by flag
 
Options
--activate bool (default: true)
Whether the new template will be marked active.
 
--always-prompt bool
Always prompt all parameters. Does not pull parameter values from
active template version.
 
-d, --directory string (default: .)
Specify the directory to create from, use '-' to read tar from stdin.
 
--name string
Specify a name for the new template version. It will be automatically
generated if not provided.
 
--provisioner-tag string-array
Specify a set of tags to target provisioner daemons.
 
--variable string-array
Specify a set of values for Terraform-managed variables.
 
--variables-file string
Specify a file path with values for Terraform-managed variables.
 
-y, --yes bool
Bypass prompts.
 
---
Run `coder --help` for a list of global options.