Package eu.svjatoslav.commons.cli_helper
Class CLIHelper
java.lang.Object
eu.svjatoslav.commons.cli_helper.CLIHelper
Command-line interface helper.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CLIHelper
public CLIHelper()
-
-
Method Details
-
askBoolean
Ask boolean value from user on command-line.- Parameters:
prompt
- to show to the user- Returns:
true
is user answered affirmative.
-
askLong
Ask numerical long value from user on command-line.- Parameters:
prompt
- to show to the user- Returns:
- value given by user
-
askString
Ask string value from user on command-line.- Parameters:
prompt
- to show to the user- Returns:
- value given by the user
-