Skip to content

Commit 79c0c02

Browse files
committed
add removal comment
1 parent 5334e8e commit 79c0c02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/templatecreate.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"github.com/coder/pretty"
99
)
1010

11+
// TODO(f0ssel): This should be removed a few versions after coder 2.7.0 has been released.
1112
func (*RootCmd) templateCreate() *clibase.Cmd {
1213
cmd := &clibase.Cmd{
1314
Use: "create [name]",
@@ -17,7 +18,7 @@ func (*RootCmd) templateCreate() *clibase.Cmd {
1718
_, _ = fmt.Fprintln(inv.Stdout, "\n"+pretty.Sprint(cliui.DefaultStyles.Wrap,
1819
pretty.Sprint(
1920
cliui.DefaultStyles.Error,
20-
"ERROR: The `coder templates create` command has been removed."+
21+
"ERROR: The `coder templates create` command has been removed. "+
2122
"Use the `coder templates push` command to create and update templates. "+
2223
"Use the `coder templates edit` command to change template settings.")))
2324
return nil

0 commit comments

Comments
 (0)