fix: remove noop templates plan command (#6617)

Co-authored-by: Colin Adler <colin1adler@gmail.com>
This commit is contained in:
Kyle Carberry
2023-03-16 16:28:22 -05:00
committed by GitHub
parent a1d2c057a2
commit ffca3a5fb3
6 changed files with 0 additions and 34 deletions
-16
View File
@@ -1,16 +0,0 @@
package cli
import (
"github.com/spf13/cobra"
)
func templatePlan() *cobra.Command {
return &cobra.Command{
Use: "plan <directory>",
Args: cobra.MinimumNArgs(1),
Short: "Plan a template push from the current directory",
RunE: func(cmd *cobra.Command, args []string) error {
return nil
},
}
}
-1
View File
@@ -39,7 +39,6 @@ func templates() *cobra.Command {
templateEdit(),
templateInit(),
templateList(),
templatePlan(),
templatePush(),
templateVersions(),
templateDelete(),
-1
View File
@@ -27,7 +27,6 @@ Commands:
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
versions Manage different versions of the specified template
-1
View File
@@ -35,7 +35,6 @@ coder templates [flags]
| [<code>edit</code>](./coder_templates_edit) | Edit the metadata of a template by name. |
| [<code>init</code>](./coder_templates_init) | Get started with a templated template. |
| [<code>list</code>](./coder_templates_list) | List all the templates available for the organization |
| [<code>plan</code>](./coder_templates_plan) | Plan a template push from the current directory |
| [<code>pull</code>](./coder_templates_pull) | Download the latest version of a template to a path. |
| [<code>push</code>](./coder_templates_push) | Push a new template version from the current directory or as specified by flag |
| [<code>versions</code>](./coder_templates_versions) | Manage different versions of the specified template |
-11
View File
@@ -1,11 +0,0 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# coder templates plan
Plan a template push from the current directory
## Usage
```console
coder templates plan <directory> [flags]
```
-4
View File
@@ -602,10 +602,6 @@
"title": "templates list",
"path": "./cli/coder_templates_list.md"
},
{
"title": "templates plan",
"path": "./cli/coder_templates_plan.md"
},
{
"title": "templates pull",
"path": "./cli/coder_templates_pull.md"