ask 0.0.3

A toolset for nicely displayed Questions and Answers through the terminal.
Documentation
extern crate ask;

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


fn main() {
    // let mut ask = ask::Ask::new();
    // ask.question(OpenEnded::new( "question?".to_string()));
    // ask.all();


    let mut open_ended = OpenEnded::new("question?".to_string());
    let answers = open_ended.send();


    let mut multiple_choice = MultipleChoice::new("question?".to_string());
    let answers = multiple_choice.add_option("option 1".to_owned())
        .add_option("option 2".to_owned())
        .add_option("option 3".to_owned())
        .max_selections(2)
        .min_selections(1)
        .send()
        .unwrap();


    for answer in answers{
        println!("{:?}", answer);
    }

    //what about its return values?
    //what about option groups ie a menu.
    //what about multiple quantities (have an add Component field where you can add the quantity component it will add + - buttons to the guys).
    /*
    what would you like to order?
        ---Entres---       //group title
            O calamari
            O wings
            O shrimp
        ---Main Course---
            O T-Bone
    what about sub questions. ie on_select bring up another question once answered go back to previous question?
    */
}