From 84d8f03cf2471d3530f4657055f272474880b6b5 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 23 Feb 2024 08:15:24 +0000 Subject: feat(push): add `--force` to issue revision wrapping `send --in-reply-to` unless branch up-to-date --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 9b9b660..4c49280 100644 --- a/src/main.rs +++ b/src/main.rs @@ -40,7 +40,7 @@ enum Commands { /// list proposals; optionally apply them as a new branch List(sub_commands::list::SubCommandArgs), /// send new commits as proposal amendments - Push, + Push(sub_commands::push::SubCommandArgs), /// pull latest commits in proposal linked to checked out branch Pull, /// run with --nsec flag to change npub @@ -56,6 +56,6 @@ async fn main() -> Result<()> { Commands::Send(args) => sub_commands::send::launch(&cli, args).await, Commands::List(args) => sub_commands::list::launch(&cli, args).await, Commands::Pull => sub_commands::pull::launch().await, - Commands::Push => sub_commands::push::launch(&cli).await, + Commands::Push(args) => sub_commands::push::launch(&cli, args).await, } } -- cgit v1.2.3