diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 09:58:19 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 09:58:19 +0000 |
| commit | bc6be27ae6d1d2befe0027c19aba3f6cd2d22535 (patch) | |
| tree | ff77150dff308f48b680787c57482634a1c3561d /src/bin/ngit/main.rs | |
| parent | 8293af72744bc89beac57a194602938536b429db (diff) | |
feat: add ngit apply command for non-interactive patch application
Adds a new 'ngit apply <event-id>' command that applies proposal patches
to the current branch. Supports --stdout flag to output patches for
piping to git am.
Phase 2 of non-interactive ngit list implementation.
Diffstat (limited to 'src/bin/ngit/main.rs')
| -rw-r--r-- | src/bin/ngit/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index 2c9e10f..ab57f89 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -54,6 +54,7 @@ async fn main() { | |||
| 54 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, | 54 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, |
| 55 | Commands::Sync(args) => sub_commands::sync::launch(args).await, | 55 | Commands::Sync(args) => sub_commands::sync::launch(args).await, |
| 56 | Commands::Checkout { id } => sub_commands::checkout::launch(id).await, | 56 | Commands::Checkout { id } => sub_commands::checkout::launch(id).await, |
| 57 | Commands::Apply { id, stdout } => sub_commands::apply::launch(id, *stdout).await, | ||
| 57 | } | 58 | } |
| 58 | } else { | 59 | } else { |
| 59 | // Handle the case where no command is provided | 60 | // Handle the case where no command is provided |