Skip to content

Commit aaf5e78

Browse files
committed
Merge pull request #57 from krancour/better-no-remote
fix(apps:create): Better output when --no-remote used
2 parents af43972 + 309a6db commit aaf5e78

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)