I am looking for a one-liner to prompt user for multiple inputs and execute a command using the user inputs as arguments.
The naive approach is:
read -p
Sounds like a homework question to get you to look at functions. If you had a function like:
input() { read -p "$1:" user_input; echo "$user_input"; }
Then your line:
the_command some_complicated_arguments "$(input shirt_size)" "$(input age)"
Would prompt and print the complete line. Although this does nothing to check for valid input or no input.