diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-20 23:03:15 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-20 23:04:21 +0000 |
| commit | e50687b908e802c9f3328c9b57060b63bb5706c0 (patch) | |
| tree | 0429435eb1e0a4ff135c5f62b6386b85afb99de3 /src/bin/ngit/main.rs | |
| parent | 68779f91f051822270f156a4185350fb3c4b5017 (diff) | |
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
Diffstat (limited to 'src/bin/ngit/main.rs')
| -rw-r--r-- | src/bin/ngit/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index 924a714..5a7654a 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -50,7 +50,7 @@ async fn main() { | |||
| 50 | }, | 50 | }, |
| 51 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, | 51 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, |
| 52 | Commands::Repo(args) => { | 52 | Commands::Repo(args) => { |
| 53 | sub_commands::repo::launch(&cli, args.repo_command.as_ref()).await | 53 | sub_commands::repo::launch(&cli, args.repo_command.as_ref(), args.offline).await |
| 54 | } | 54 | } |
| 55 | Commands::List { | 55 | Commands::List { |
| 56 | status, | 56 | status, |