Taking kind of a wild guess here....

If ure working with the bash i gues u can automate the process by creating a text with all the input u have to do and then executing the file in the bash with the "<" operator, Im not really sure if this works since Ive only used it to automate program testing inputs in the bash