mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix: remove noop templates plan command (#6617)
Co-authored-by: Colin Adler <colin1adler@gmail.com>
This commit is contained in:
@@ -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
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -39,7 +39,6 @@ func templates() *cobra.Command {
|
||||
templateEdit(),
|
||||
templateInit(),
|
||||
templateList(),
|
||||
templatePlan(),
|
||||
templatePush(),
|
||||
templateVersions(),
|
||||
templateDelete(),
|
||||
|
||||
-1
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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]
|
||||
```
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user