Ask

A simple toolset for asking questions through the terminal.

Usage

```rust extern crate ask;

use ask::question::{OpenEnded, MultipleChoice, OptionGroup, TraitQuestion};

fn main() { let answercollections = multiplechoice .addoptiongroup( OptionGroup::new("Entrees") .addoption("Calamari".toowned()) .addoption("Buffalo wings".toowned()) .addoption("Shrimp".toowned()) ) .addoptiongroup( OptionGroup::new("Main Coarse") .addoption("T-Bone".toowned()) .addoption("Burger".toowned()) .addoption("Duck".toowned()) ) .setvalidation(Box::new(|answercollection| { validate::groupoptions::selectionsaregtoe(& answercollection, 0) && validate::groupoptions::selectionsareltoe(& answercollection, 3) }) ) // .replacecontinuebtn("CAN CONTINUE!!".toowned(), "CANNOT CONTINUE!!".toowned()) //can customize continue btn .send() .unwrap();

println!("");

// let answer_collections = multiple_choice.to_answer_collections(); //can pull the answer_collections at any time
for answer_sets in answer_collections.answer_sets{
    for answer in answer_sets.answers{
        println!("{}", answer);
    }
}

```

should show:

multiple choice result