TheDragonCode/laravel-deploy-operations

Add the ability to execute a specific file

andrey-helldar opened this issue · 0 comments

Description:

Calling migrations allows you to execute one file:

php artisan migrate --path=2021_12_06_144806_test.php
php artisan migrate --path=custom/directory/2021_12_06_144806_test.php

We need to add the same functionality to invoke actions but with a features:

php artisan migrate --file=2021_12_06_144806_test.php
php artisan migrate --file=custom/directory/2021_12_06_144806_test.php
// or
php artisan migrate --file=2021_12_06_144806_test
php artisan migrate --file=custom/directory/2021_12_06_144806_test