diff options
Diffstat (limited to 'src/bin/ngit/cli.rs')
| -rw-r--r-- | src/bin/ngit/cli.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index 5c1a097..8f55274 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs | |||
| @@ -111,6 +111,14 @@ pub enum Commands { | |||
| 111 | /// Proposal event-id (hex) or nevent (bech32) | 111 | /// Proposal event-id (hex) or nevent (bech32) |
| 112 | id: String, | 112 | id: String, |
| 113 | }, | 113 | }, |
| 114 | /// apply proposal patches to current branch | ||
| 115 | Apply { | ||
| 116 | /// Proposal event-id or nevent | ||
| 117 | id: String, | ||
| 118 | /// Output patches to stdout instead of applying | ||
| 119 | #[arg(long)] | ||
| 120 | stdout: bool, | ||
| 121 | }, | ||
| 114 | /// update repo git servers to reflect nostr state (add, update or delete | 122 | /// update repo git servers to reflect nostr state (add, update or delete |
| 115 | /// remote refs) | 123 | /// remote refs) |
| 116 | Sync(sub_commands::sync::SubCommandArgs), | 124 | Sync(sub_commands::sync::SubCommandArgs), |