Skip to content

feat(cli): add --create flag to coder templates push #8068

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

Closed
wants to merge 29 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
26fc837
ci: check for unused packages
matifali Jun 16, 2023
d125251
make fmt
matifali Jun 16, 2023
f235f7c
move to lint check
matifali Jun 16, 2023
f9b2ab2
move to Makefile
matifali Jun 16, 2023
d926d21
update sqlc
matifali Jun 16, 2023
9199745
install depcheck
matifali Jun 16, 2023
613e318
Merge branch 'main' into matifali/template-push-create
matifali Jun 16, 2023
a85a0aa
revert wrong merge
matifali Jun 16, 2023
c9220af
wip
matifali Jun 16, 2023
1e672a6
Merge branch 'main' into matifali/template-push-create
matifali Jun 16, 2023
76fe001
Discard changes to .github/workflows/ci.yaml
matifali Jun 16, 2023
eea488e
Discard changes to .github/workflows/security.yaml
matifali Jun 16, 2023
229af80
Discard changes to dogfood/Dockerfile
matifali Jun 16, 2023
72291f5
make lint
matifali Jun 16, 2023
910bfbb
make update-golden-files
matifali Jun 16, 2023
9635d82
Merge branch 'main' into matifali/template-push-create
matifali Jun 19, 2023
c99baaf
make gen
matifali Jun 19, 2023
f4e6eab
refactor
matifali Jun 19, 2023
d7272b9
more refactor
matifali Jun 19, 2023
379f670
more refactor
matifali Jun 19, 2023
3485352
better cli message
matifali Jun 19, 2023
8b31372
refactor
matifali Jun 19, 2023
c3d87e9
refactor
matifali Jun 21, 2023
66f9eb0
Merge branch 'main' into matifali/template-push-create
matifali Jun 22, 2023
4eadcf7
Merge branch 'main' into matifali/template-push-create
matifali Jun 26, 2023
c2b5c68
Apply suggestions from code review
matifali Jun 29, 2023
8794254
Merge remote-tracking branch 'origin/main' into matifali/template-pus…
matifali Jun 29, 2023
143e84d
make fmt and fix
matifali Jun 29, 2023
2fc0729
create version before template creation
matifali Jun 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make update-golden-files
  • Loading branch information
matifali committed Jun 16, 2023
commit 910bfbb9fd64273a3b08671d9f209ceb5274d071
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 @@ -10,6 +10,9 @@ Push a new template version from the current directory or as specified by flag
Always prompt all parameters. Does not pull parameter values from
active template version.

--create bool (default: false)
Create a new template if one does not already exist.

-d, --directory string (default: .)
Specify the directory to create from, use '-' to read tar from stdin.

Expand Down