upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-16 22:09:22 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-16 22:09:22 +0000
commitedb5465abf286dd9bc4533f4cf95e34765ee0bca (patch)
treedee4f010ecfdeaf49971521b5da4b6b2541bd7a9
parent9b3bf4cc53d37c1f3bb54f7c6191cd9e87ca4ca0 (diff)
feat: add 'To view' hint to ngit list output
Shows 'To view: ngit list <id>' when listing proposals without an id, helping users discover they can view individual proposals in detail.
-rw-r--r--src/bin/ngit/sub_commands/list.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/ngit/sub_commands/list.rs b/src/bin/ngit/sub_commands/list.rs
index d2e338d..0750ce0 100644
--- a/src/bin/ngit/sub_commands/list.rs
+++ b/src/bin/ngit/sub_commands/list.rs
@@ -242,6 +242,7 @@ fn output_table(proposals: &[(&nostr::Event, Kind)], _repo_ref: &RepoRef) {
242 } 242 }
243 243
244 println!(); 244 println!();
245 println!("To view: ngit list <id>");
245 println!("To checkout: ngit checkout <id>"); 246 println!("To checkout: ngit checkout <id>");
246 println!("To apply: ngit apply <id>"); 247 println!("To apply: ngit apply <id>");
247} 248}