lazygit/test/shell_script_input_prompt.sh

7 lines
166 B
Bash
Executable file

#!/bin/bash
# For testing subprocesses that require input
# Ask the user for login details
read -p 'Username: ' user
read -sp 'Password: ' pass
echo
echo Hello $user