gnarula / sublime-laravelgenerator

A Sublime Text Plugin which allows using Laravel 4 Generators by Jeffrey Way via the command palette.
165 stars 41 forks source link

no way to set --env flag #16

Open neilholcomb opened 11 years ago

neilholcomb commented 11 years ago

It would be nice to have an option or config flag so we can set --env=local or whatever we use. I have My generators installed under my local/dev configs, and not in the default production configs. Therefore generators never appear available in sublime.

zimme commented 11 years ago

One option would be to add your computers hostname to the Laravel environment, then artisan also uses the environment in which you added your hostname.