#![allow(clippy::use_self)]
use clap::Parser;
mod cli;
mod git;
mod interface;
fn main() {
let matches = cli::Args::parse();
let tempdir = tempfile::tempdir().unwrap();
let repo_name = matches.url.as_str().split('/').last().unwrap();
let repo_path = tempdir.path().join(repo_name);
git::clone(&matches.url, &repo_path);
interface::display(&repo_path);
}