I have a Laravel Artisan command that works great and has some interactive-type questions. It works great when run from the command line.
However, when invoked from a Git hook (a Bash script), it doesn't display the interactive questions like "confirm" or "ask", etc. I just need to know in which context the Artisan command is being run and whether I will be able to display my "confirm" or other interactive questions. Is it possible?
My code below:
#!/bin/bash
php artisan some:command