feat: convert entire CLI to clibase (#6491)

I'm sorry.
This commit is contained in:
Ammar Bandukwala
2023-03-23 17:42:20 -05:00
committed by GitHub
parent b71b8daa21
commit 2bd6d2908e
345 changed files with 9965 additions and 9082 deletions
+18
View File
@@ -0,0 +1,18 @@
package cli
import (
"github.com/coder/coder/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
},
}
}