Skip to content

Rust library crate to implement terminal based questionnaires

License

Notifications You must be signed in to change notification settings

OkieOth/rs_tquest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci crates.io

tquest

Rust library crate to implement terminal based questionnaires

Idea

Build a structure that guides through a set of cascaded questions, collect the related answers and use the bundled structe in the end to some further processing

Assumed Questions

  1. Do you want to do this questionaire? (y/N)
  2. What's your name? - string result, max length ...
  3. What's your day of birth? - string result, regexp check
  4. Do you have one or more siblings? (y/N) 4.1 What's the name of your sibling? 4.2 What's the date of birth of your sibling 4.3 Do you have further Siblings
  5. Do you worked already in a job? (y/N) 5.1. Where was that job? 5.2. What company you worked for? ...

Usage

cargo test -- --ignored

About

Rust library crate to implement terminal based questionnaires

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages