read_input

Crates.ioread_input
lib.rsread_input
version0.8.6
sourcesrc
created_at2018-10-20 17:08:48.743496
updated_at2021-08-16 11:53:46.4406
descriptionAsk for user input until the data inputted is valid
homepage
repositoryhttps://github.com/eopb/read_input
max_upload_size
id91679
size61,160
Ethan Brierley (eopb)

documentation

https://docs.rs/read_input/

README

Read Input

A simple CLI tool that asks for user input until the data inputted is valid.

License Latest version Latest Docs downloads-badge

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

Docs

API Documentation

Commit count: 414

cargo fmt