Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab23b80

Browse files
committed
Add deprecation warning
1 parente7a3163 commitab23b80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎cli/templatecreate.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ func (r *RootCmd) templateCreate() *clibase.Cmd {
4747
r.InitClient(client),
4848
),
4949
Handler:func(inv*clibase.Invocation)error {
50+
_,_=fmt.Fprintln(inv.Stdout,"\n"+pretty.Sprint(cliui.DefaultStyles.Wrap,
51+
pretty.Sprint(
52+
cliui.DefaultStyles.Warn,"DEPRECATION WARNING: The `coder templates push` command should be used instead. This command will be removed in a future release. ")+"\n"))
53+
time.Sleep(1*time.Second)
54+
5055
err:=createEntitlementsCheck(inv.Context(),handleEntitlementsArgs{
5156
client:client,
5257
requireActiveVersion:requireActiveVersion,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp