diff --git a/cmd/hoster_cli/commands/new.go b/cmd/hoster_cli/commands/new.go index 26e7805..fa5090d 100644 --- a/cmd/hoster_cli/commands/new.go +++ b/cmd/hoster_cli/commands/new.go @@ -21,7 +21,7 @@ import ( func CmdNew(c *cli.Context) error { name := strings.TrimSpace(c.String("name")) domain := strings.TrimSpace(c.String("domain")) - customProjectPath := strings.TrimSpace(c.String("project-path")) + customProjectPath := strings.TrimSpace(c.String("custom-path")) projectRoot := conf.App.MustString("projects.root") sitesAvail := conf.App.MustString("nginx.sitesAvailable") sitesEnabled := conf.App.MustString("nginx.sitesEnabled") diff --git a/cmd/hoster_cli/hoster.go b/cmd/hoster_cli/hoster.go index 36f6a6e..576547a 100644 --- a/cmd/hoster_cli/hoster.go +++ b/cmd/hoster_cli/hoster.go @@ -22,7 +22,7 @@ func Execute() { app := &cli.App{ Name: "hoster", Usage: "Hoster", - Version: "1.0.6", + Version: "1.0.7", Commands: []*cli.Command{ { Name: "new",