File tree Expand file tree Collapse file tree 3 files changed +22
-19
lines changed Expand file tree Collapse file tree 3 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 44 "fmt"
55 "os"
66
7- "github.com/mongodb-labs/atlas-cli-plugin-terraform/internal/cli/hello "
7+ "github.com/mongodb-labs/atlas-cli-plugin-terraform/internal/cli/cluster "
88 "github.com/spf13/cobra"
99)
1010
@@ -16,7 +16,7 @@ func main() {
1616 }
1717
1818 terraformCmd .AddCommand (
19- hello .Builder (),
19+ cluster .Builder (),
2020 )
2121
2222 completionOption := & cobra.CompletionOptions {
Original file line number Diff line number Diff line change 1+ package cluster
2+
3+ import (
4+ "fmt"
5+
6+ "github.com/spf13/cobra"
7+ )
8+
9+ func Builder () * cobra.Command {
10+ cmd := & cobra.Command {
11+ Use : "cluster_to_advanced" ,
12+ Short : "Upgrade cluster to advanced_cluster" ,
13+ Long : "WIP - Long description for upgrade cluster to advanced_cluster" ,
14+ Aliases : []string {"clu2adv" },
15+ Run : func (_ * cobra.Command , _ []string ) {
16+ fmt .Println ("WIP - Upgrade cluster to advanced_cluster" )
17+ },
18+ }
19+ return cmd
20+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments