Fixes
This commit is contained in:
parent
7bc4dc84df
commit
0505fa0a1a
@ -21,7 +21,7 @@ import (
|
|||||||
func CmdNew(c *cli.Context) error {
|
func CmdNew(c *cli.Context) error {
|
||||||
name := strings.TrimSpace(c.String("name"))
|
name := strings.TrimSpace(c.String("name"))
|
||||||
domain := strings.TrimSpace(c.String("domain"))
|
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")
|
projectRoot := conf.App.MustString("projects.root")
|
||||||
sitesAvail := conf.App.MustString("nginx.sitesAvailable")
|
sitesAvail := conf.App.MustString("nginx.sitesAvailable")
|
||||||
sitesEnabled := conf.App.MustString("nginx.sitesEnabled")
|
sitesEnabled := conf.App.MustString("nginx.sitesEnabled")
|
||||||
|
@ -22,7 +22,7 @@ func Execute() {
|
|||||||
app := &cli.App{
|
app := &cli.App{
|
||||||
Name: "hoster",
|
Name: "hoster",
|
||||||
Usage: "Hoster",
|
Usage: "Hoster",
|
||||||
Version: "1.0.6",
|
Version: "1.0.7",
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
{
|
{
|
||||||
Name: "new",
|
Name: "new",
|
||||||
|
Loading…
Reference in New Issue
Block a user