Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

Commit 06db8e1

Browse files
committed
chore(cli): move setup back to main command
1 parent 4f2e200 commit 06db8e1

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

commands/project/project.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66

77
func GetCommands() *cobra.Command {
88
command := &cobra.Command{
9-
Use: "project",
10-
Short: "Project commands",
9+
Use: "project",
10+
Short: "Project commands",
1111
}
12-
command.AddCommand(DeployApplication, DestroyApplication, SetupServer, Validate)
12+
command.AddCommand(DeployApplication, DestroyApplication, Validate)
1313
return command
1414
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package project
1+
package commands
22

33
import (
44
"fmt"

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func init() {
4848
rootCmd.AddCommand(project.GetCommands())
4949
rootCmd.AddCommand(module.GetCommands())
5050
rootCmd.AddCommand(cli.GetCommands())
51+
rootCmd.AddCommand(commands.SetupServer)
5152
rootCmd.AddCommand(commands.Init())
5253
}
5354

0 commit comments

Comments
 (0)