heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Client only recognizes app in repo root #800

Open kennethreitz opened 11 years ago

kennethreitz commented 11 years ago
$ cd myapp

$ heroku run echo hi
Running `echo hi` attached to terminal... up, run.2046
hi

$ cd subdir; heroku run echo hi
!    No app specified.
bartels commented 11 years ago

+1. I think this would be a good feature. The "No app specified" error was a point of confusion for me, and I've noticed others I have introduced to heroku have also run into this problem. For some projects it is common to be in a subdirectory instead of the top level of the git repo.

The heroku cli tool could traverse parent directories looking for a git repo in the case that it isn't the current working directory.

kennethreitz commented 11 years ago

Drives me crazy.