oporkka/play-carbonate — comment on commit 646111bc77554718ea3541263a56c2f594d72354
File:  line 0
By oporkka:

** This pull request was buggy, I'll make a new one **

That was maybe an unintuitive message. The thing is that play commands support giving the application path in the parameter, but it is the current directory by default. So if you don't give the app_path parameter, you need to start play from the application's main directory. This means that you have to use syntax like

DIR_TO_PLAY/play run --%id

or then you have to have play directory on your path. There are cases where you might want to start the application from a directory which is not the application's main directory. Then I could use something like

DIR_TO_PLAY/play run DIR_TO_APP_MAIN --%id

However, carbonate:new command does not support giving the application directory as parameter like the other play commands do. This pull is to fix it. Then you could use carbonate like

DIR_TO_PLAY/play carbonate:new DIR_TO_APP_MAIN --%id