https://github.com/eopb/read_input
A simple CLI tool that asks for user input until the data inputted is valid.
https://github.com/eopb/read_input
cli cratesio input input-validation rust simple-data-pipe tool
Last synced: 3 months ago
JSON representation
A simple CLI tool that asks for user input until the data inputted is valid.
- Host: GitHub
- URL: https://github.com/eopb/read_input
- Owner: eopb
- License: mit
- Created: 2018-10-20T17:13:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-27T14:30:43.000Z (5 months ago)
- Last Synced: 2025-04-10T03:54:57.919Z (3 months ago)
- Topics: cli, cratesio, input, input-validation, rust, simple-data-pipe, tool
- Language: Rust
- Homepage:
- Size: 209 KB
- Stars: 17
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Read Input
A simple CLI tool that asks for user input until the data inputted is valid.[](https://crates.io/crates/read_input)
[](https://crates.io/crates/read_input)
[](https://docs.rs/read_input/)
[](https://crates.io/crates/read_input)## Why you need it
When writing command line tools you will often need to take input from the user. If the user inputs invalid information the program needs to ask them again. Having to make this loop distracts from the useful logic in your program.
`read_input` attempts to make it easy to get input from the user without having to think about converting types.
## How to get started.
Everything is covered on our documentation page. [Latest Docs](https://docs.rs/read_input/)
## Docs
[API Documentation](https://docs.rs/read_input/)