Files
gt/src/issue.rs
T

28 lines
572 B
Rust
Raw Normal View History

2020-06-13 15:07:21 -04:00
use std::collections::HashMap;
2020-06-27 22:32:38 -04:00
use std::io;
2020-06-13 15:07:21 -04:00
use clap::ArgMatches;
use colored::*;
use reqwest::{StatusCode, Client};
use serde_derive::{Serialize, Deserialize};
use crate::config::Configuration;
pub struct Issue;
impl Issue {
pub fn new() -> Issue {
Issue {}
}
pub fn create_issue(&self, config: &Configuration, arg: &ArgMatches) {
2020-06-27 22:32:38 -04:00
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()
2020-06-13 15:07:21 -04:00
}
}