-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support echo and prompt for an interactive option #1284
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1284 +/- ##
============================================
+ Coverage 93.82% 93.83% +0.01%
Complexity 462 462
============================================
Files 2 2
Lines 6852 6882 +30
Branches 1842 1848 +6
============================================
+ Hits 6429 6458 +29
- Misses 138 141 +3
+ Partials 285 283 -2
Continue to review full report at Codecov.
|
Merged. |
This reverts commit b99c1da.
…-NOTES.md" This reverts commit 2572123.
…ption echo and prompt" This reverts commit e358448.
This reverts commit b99c1da.
…-NOTES.md" This reverts commit 2572123.
…ption echo and prompt" This reverts commit e358448.
PR for #802.
echo
is true, just usesBufferedReader#readLine
notConsole#readPassword
to read user input.prompt
is not empty, the specified string will be displayed to the end user for an interactive option.echo
: falseprompt
: empty stringHere is the result of a sample class added by this PR. I use Windows 10.