Skip to content

Commit 309a6db

Browse files
committed
fix(apps:create): Better output when --no-remote used
1 parent af43972 commit 309a6db

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

cmd/apps.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ func AppCreate(id string, buildpack string, remote string, noRemote bool) error
5757
}
5858
}
5959

60-
fmt.Println("remote available at", git.RemoteURL(c.ControllerURL.Host, app.ID))
60+
if noRemote {
61+
fmt.Printf("If you want to add a git remote for this app later, use `deis git:remote -a %s`\n", app.ID)
62+
} else {
63+
fmt.Println("remote available at", git.RemoteURL(c.ControllerURL.Host, app.ID))
64+
}
6165

6266
return nil
6367
}

0 commit comments

Comments
 (0)