mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: drop 'template plan' unused command (#9386)
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
package cli
|
||||
|
||||
import (
|
||||
"github.com/coder/coder/v2/cli/clibase"
|
||||
)
|
||||
|
||||
func (*RootCmd) templatePlan() *clibase.Cmd {
|
||||
return &clibase.Cmd{
|
||||
Use: "plan <directory>",
|
||||
Middleware: clibase.Chain(
|
||||
clibase.RequireNArgs(1),
|
||||
),
|
||||
Short: "Plan a template push from the current directory",
|
||||
Handler: func(inv *clibase.Invocation) error {
|
||||
return nil
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,6 @@ func (r *RootCmd) templates() *clibase.Cmd {
|
||||
r.templateEdit(),
|
||||
r.templateInit(),
|
||||
r.templateList(),
|
||||
r.templatePlan(),
|
||||
r.templatePush(),
|
||||
r.templateVersions(),
|
||||
r.templateDelete(),
|
||||
|
||||
-1
@@ -24,7 +24,6 @@ Templates are written in standard Terraform and describe the infrastructure for
|
||||
edit Edit the metadata of a template by name.
|
||||
init Get started with a templated template.
|
||||
list List all the templates available for the organization
|
||||
plan Plan a template push from the current directory
|
||||
pull Download the latest version of a template to a path.
|
||||
push Push a new template version from the current directory or as
|
||||
specified by flag
|
||||
|
||||
Reference in New Issue
Block a user