From e50687b908e802c9f3328c9b57060b63bb5706c0 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 20 Feb 2026 23:03:15 +0000 Subject: improve `ngit repo` output styling - make repo name bold yellow as a title; section headings bold dim - add dim horizontal rules above and below the name/description block - move earliest unique commit to the bottom (after additional relays) - add --offline flag to skip network fetch and use local cache only --- src/bin/ngit/cli.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/bin/ngit/cli.rs') diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index fa5d906..164035b 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs @@ -187,6 +187,9 @@ pub struct AccountSubCommandArgs { pub struct RepoSubCommandArgs { #[command(subcommand)] pub repo_command: Option, + /// Use local cache only, skip network fetch + #[arg(long)] + pub offline: bool, } #[derive(Subcommand)] -- cgit v1.2.3