From 6170b37bc426f7ca1fecdc4726bbaa68a90b8237 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 5 Jun 2021 14:08:56 +0200 Subject: Add commented GitHub fetch call with command line username argument Add command line argument value here in preparation for when we enable this code. --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index dafc133..65e4d5e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,6 +76,8 @@ async fn run() -> anyhow::Result<()> { let base_cgitrc = opt_matches.opt_str("cgitrc") .map(|s| PathBuf::from(s)); + // let repos = github::fetch_repos(username).await.unwrap(); + let test_repos = vec![ github::Repo { id: 345367151, -- cgit v1.2.3