diff options
Diffstat (limited to 'src/bin/ngit/cli.rs')
| -rw-r--r-- | src/bin/ngit/cli.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index 37d85a2..a240597 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs | |||
| @@ -248,6 +248,9 @@ pub enum PrCommands { | |||
| 248 | /// Proposal event-id (hex) or nevent (bech32) | 248 | /// Proposal event-id (hex) or nevent (bech32) |
| 249 | #[arg(value_name = "ID|nevent")] | 249 | #[arg(value_name = "ID|nevent")] |
| 250 | id: String, | 250 | id: String, |
| 251 | /// Optional reason stored in event content | ||
| 252 | #[arg(long)] | ||
| 253 | reason: Option<String>, | ||
| 251 | /// Use local cache only, skip network fetch | 254 | /// Use local cache only, skip network fetch |
| 252 | #[arg(long)] | 255 | #[arg(long)] |
| 253 | offline: bool, | 256 | offline: bool, |
| @@ -257,6 +260,9 @@ pub enum PrCommands { | |||
| 257 | /// Proposal event-id (hex) or nevent (bech32) | 260 | /// Proposal event-id (hex) or nevent (bech32) |
| 258 | #[arg(value_name = "ID|nevent")] | 261 | #[arg(value_name = "ID|nevent")] |
| 259 | id: String, | 262 | id: String, |
| 263 | /// Optional reason stored in event content | ||
| 264 | #[arg(long)] | ||
| 265 | reason: Option<String>, | ||
| 260 | /// Use local cache only, skip network fetch | 266 | /// Use local cache only, skip network fetch |
| 261 | #[arg(long)] | 267 | #[arg(long)] |
| 262 | offline: bool, | 268 | offline: bool, |
| @@ -266,6 +272,9 @@ pub enum PrCommands { | |||
| 266 | /// Proposal event-id (hex) or nevent (bech32) | 272 | /// Proposal event-id (hex) or nevent (bech32) |
| 267 | #[arg(value_name = "ID|nevent")] | 273 | #[arg(value_name = "ID|nevent")] |
| 268 | id: String, | 274 | id: String, |
| 275 | /// Optional reason stored in event content | ||
| 276 | #[arg(long)] | ||
| 277 | reason: Option<String>, | ||
| 269 | /// Use local cache only, skip network fetch | 278 | /// Use local cache only, skip network fetch |
| 270 | #[arg(long)] | 279 | #[arg(long)] |
| 271 | offline: bool, | 280 | offline: bool, |
| @@ -275,6 +284,9 @@ pub enum PrCommands { | |||
| 275 | /// Proposal event-id (hex) or nevent (bech32) | 284 | /// Proposal event-id (hex) or nevent (bech32) |
| 276 | #[arg(value_name = "ID|nevent")] | 285 | #[arg(value_name = "ID|nevent")] |
| 277 | id: String, | 286 | id: String, |
| 287 | /// Optional reason stored in event content | ||
| 288 | #[arg(long)] | ||
| 289 | reason: Option<String>, | ||
| 278 | /// Use local cache only, skip network fetch | 290 | /// Use local cache only, skip network fetch |
| 279 | #[arg(long)] | 291 | #[arg(long)] |
| 280 | offline: bool, | 292 | offline: bool, |
| @@ -414,6 +426,9 @@ pub enum IssueCommands { | |||
| 414 | /// Issue event-id (hex) or nevent (bech32) | 426 | /// Issue event-id (hex) or nevent (bech32) |
| 415 | #[arg(value_name = "ID|nevent")] | 427 | #[arg(value_name = "ID|nevent")] |
| 416 | id: String, | 428 | id: String, |
| 429 | /// Optional reason stored in event content | ||
| 430 | #[arg(long)] | ||
| 431 | reason: Option<String>, | ||
| 417 | /// Use local cache only, skip network fetch | 432 | /// Use local cache only, skip network fetch |
| 418 | #[arg(long)] | 433 | #[arg(long)] |
| 419 | offline: bool, | 434 | offline: bool, |