upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ngit/cli.rs')
-rw-r--r--src/bin/ngit/cli.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs
index 8f55274..dd7196c 100644
--- a/src/bin/ngit/cli.rs
+++ b/src/bin/ngit/cli.rs
@@ -105,7 +105,16 @@ pub enum Commands {
105 /// submit PR with advanced options 105 /// submit PR with advanced options
106 Send(sub_commands::send::SubCommandArgs), 106 Send(sub_commands::send::SubCommandArgs),
107 /// list PRs; checkout, apply or download selected 107 /// list PRs; checkout, apply or download selected
108 List, 108 List {
109 /// Filter by status (comma-separated: open,draft,closed,applied)
110 #[arg(long, default_value = "open,draft")]
111 status: String,
112 /// Output as JSON
113 #[arg(long)]
114 json: bool,
115 /// Show details for specific proposal (event-id or nevent)
116 id: Option<String>,
117 },
109 /// checkout a proposal branch by event-id or nevent 118 /// checkout a proposal branch by event-id or nevent
110 Checkout { 119 Checkout {
111 /// Proposal event-id (hex) or nevent (bech32) 120 /// Proposal event-id (hex) or nevent (bech32)