diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-16 22:09:22 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-16 22:09:22 +0000 |
| commit | edb5465abf286dd9bc4533f4cf95e34765ee0bca (patch) | |
| tree | dee4f010ecfdeaf49971521b5da4b6b2541bd7a9 /src/bin/ngit | |
| parent | 9b3bf4cc53d37c1f3bb54f7c6191cd9e87ca4ca0 (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.
Diffstat (limited to 'src/bin/ngit')
| -rw-r--r-- | src/bin/ngit/sub_commands/list.rs | 1 |
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 | } |