- Propperly handle
until_acceptable
with.accept()
and add test - Add an example of using
.accept()
- Add links to release and running release docs in README
- Add initial module level documentation
- Add initial public interface documentation
- Updated examples
- Require nightly and beta to pass tests
- Run rustfmt and clippy on nightly
- Ran rustfmt
- Ran clippy
- The
acceptable()
method now acceptsVec<&str>
instead of&[String]
. Example:fn main() { let question = Question::new("Continue?").acceptable(vec!["y", "n"]); }
- Added setter for providing
clarification
. Example:fn main() { let clarification = "Please enter one of (yes/no)"; let question = Question::new("Continue?").clarification(clarification); }
- Flush
stdio
before getting user input - Strip newlines from user response
- Add a space after the question prompt
- Add a space between question and defaults
- If a default answer exists return it when empty string is given
- Added CI for Linux
- Added CI for Windows
- Added Code Coverage
- Added tests for entire public interface
- Added CHANGELOG
- Added CONTRIBUTING
- Completed README
- Refactor to support dependency injection replacing
Stdin
andStdout
in tests.
- Initial release
- Do not use was essentially just scaffolding