added some command line stuff

This commit is contained in:
2021-12-19 20:01:05 -05:00
parent de1846e904
commit c878f5c963
2 changed files with 30 additions and 0 deletions

View File

@@ -45,6 +45,18 @@ fn main() {
if repo_matches.is_present("list") {
repo.list_repo(&request)
}
if repo_matches.is_present("push") {
repo.push_to_remote(&request)
}
if repo_matches.is_present("pull") {
repo.pull_from_remote(&request)
}
if repo_matches.is_present("clone") {
repo.clone_from_remote(&request, &config)
}
}
("issue", Some(issue_matches)) => {
let issue = issue::Issue::new();