prompt abstract method
Prompt the user for input.
The message and choices are displayed to the user and the index of the chosen option is returned.
If this environmment is non-interactive (such as when running in a test) this method should throw NonInteractiveBuildException.
Implementation
Future<int> prompt(String message, List<String> choices);