Skip to content

Commit c679102

Browse files
authored
refactor: Added migrate commands to artisan pass-through (#46)
1 parent 8843dfe commit c679102

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/hop

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if test -t 1; then
4545
FG_M="$(tput setaf $COLOR_M)" # Foreground - MAGENTA
4646
FG_C="$(tput setaf $COLOR_C)" # Foreground - CYAN
4747
FG_N="$(tput setaf $COLOR_N)" # Foreground - NEUTRAL (GRAY)
48-
48+
4949
BOLD="$(tput bold)"
5050
RESET="$(tput sgr0)"
5151
fi
@@ -153,6 +153,7 @@ function display_help {
153153
describe_command "fresh" "hop artisan migrate:fresh"
154154
describe_command "make:*" "hop artisan make:*"
155155
describe_command "migrate" "hop artisan migrate"
156+
describe_command "migrate:*" "hop artisan migrate:*"
156157
describe_command "queue:*" "hop artisan queue:*"
157158
describe_command "seed" "hop artisan db:seed"
158159
describe_command "test" "hop artisan test"
@@ -305,7 +306,7 @@ if [ "$1" == "explain" ]; then
305306
fi
306307

307308
case $1 in
308-
"app:"*|"build:"*|"db:"*|"make:"*|"queue:"*)
309+
"app:"*|"build:"*|"db:"*|"make:"*|"migrate:"*|"queue:"*)
309310
run_exec_command php artisan "$@"
310311
;;
311312
"art"|"artisan")

0 commit comments

Comments
 (0)