When I am developing locally I run a lot of Artisan commands on my VM and I have a memory like Dory (from Nemo). I can never remember the commands I need to run without looking.
So what I have done is setup Envoy with common tasks I run on my VM. Here is a quick example of my reset:
1@servers(['vm' => '-p 2222 firstname.lastname@example.org'])23@macro('reset')4 migrate_reset5 migrate_seed6 reload_elastic7@endmacro89@task('migrate_reset', ['on' => 'vm'])10 cd ~/Code/MyApp11 php artisan migrate:reset --env=local12@endtask1314@task('migrate_seed', ['on' => 'vm'])15 cd ~/Code/MyApp16 php artisan migrate --seed --env=local17@endtask
Of course the opportunities are limitless for this and I’m really enjoying it.