Framework: Fire events for artisan commands

Created on 1 Sep 2014  路  2Comments  路  Source: laravel/framework

It would be fine when we can hook on some Artisan events when they are fired with corresponding command name. For example call, execute, run for db:seed should be artisan.call.db.seed, artisan.execute.db.seed etc.
It's all about adding few lines into Illuminate\Console\Application and Illuminate\Console\Command.

Most helpful comment

We're open to pull requests.

All 2 comments

Would prefer something standard such as artisan.firing: command:name

We're open to pull requests.

Was this page helpful?
0 / 5 - 0 ratings