Consolidate controller bootstrap login in run command (#38)

This commit is contained in:
Fedor Korotkov
2023-03-21 15:36:55 -04:00
committed by GitHub
parent 10f56bb5e3
commit 9b5ad09841
7 changed files with 68 additions and 95 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ var dataDirPath string
func NewCommand() *cobra.Command {
command := &cobra.Command{
Use: "controller",
Short: "Initialize and run a controller on the local machine",
Short: "Run a controller on the local machine",
}
command.AddCommand(newInitCommand(), newRunCommand())
command.AddCommand(newRunCommand())
orchardHome, err := orchardhome.Path()
if err != nil {