added issue.rs
similar to what repo.rs looked like
This commit is contained in:
		
							
								
								
									
										20
									
								
								src/issue.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								src/issue.rs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					use std::collections::HashMap;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					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) {
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user