Using an interactive command or script
When you need to interact with user – specify interactive: true
. Lefthook will connect to the current TTY and forward it to your command's or script's stdin.
When you need to interact with user – specify interactive: true
. Lefthook will connect to the current TTY and forward it to your command's or script's stdin.