I'm writing a bash script that downloads and compiles a program and I don't know what i should be looking up to accomplish what I want, so here I go...
What I want:
sudo pacstall -I program
What it does now
sudo pacstall -I
then I would type in program to install program.
So how do I get it to 'ask for input' after typing in the -I flag (I for install)? I'm very new to bash scripting so any help is appreciated.