diff --git a/src/issue.rs b/src/issue.rs index 70c81da..333a49e 100644 --- a/src/issue.rs +++ b/src/issue.rs @@ -1,4 +1,5 @@ use std::collections::HashMap; +use std::io; use clap::ArgMatches; use colored::*; @@ -15,6 +16,12 @@ impl Issue { } pub fn create_issue(&self, config: &Configuration, arg: &ArgMatches) { - + let client = Client::new(); + } + + pub fn get_input(&self) -> String { + let mut input = String::new(); + io::stdin().read_line(&mut input).unwrap(); + input.trim().to_string() } }