This is a bit on the basics of grabbing user input from a console, using Ruby, Python and Groovy.
The command to request user input in a console is: gets
More specifically, one should use gets.chomp
chomp removes the extra lines that might come in.
Example: user_name = gets.chomp
In Python3 the command to request user input from the console is: input()
Example: user_name = input(“What is your username?”)
Groovy uses this syntax:
def username = System.console().readLines(“What is your Username?”)