Skip to content

feat(cli): support non-active template version pushes #7488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 3, 2023
Prev Previous commit
Next Next commit
make gen update-golden-files
  • Loading branch information
ammario committed May 16, 2023
commit 2ce59d9f63b6b1a6065455d161fe9ae904ae54cc
3 changes: 3 additions & 0 deletions cli/testdata/coder_templates_push_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ 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.
Expand Down
9 changes: 9 additions & 0 deletions docs/cli/templates_push.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ coder templates push [flags] [template]

## Options

### --activate

| | |
| ------- | ----------------- |
| Type | <code>bool</code> |
| Default | <code>true</code> |

Whether the new template will be marked active.

### --always-prompt

| | |
Expand Down