diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-23 08:15:24 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-23 08:15:24 +0000 |
| commit | 84d8f03cf2471d3530f4657055f272474880b6b5 (patch) | |
| tree | 36d1e57526fa9b201315552cada843a357334a55 /src/main.rs | |
| parent | edb7bf7ee2ffbd718b927c5431d3c9fa5305ec06 (diff) | |
feat(push): add `--force` to issue revision
wrapping `send --in-reply-to` unless branch up-to-date
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
| 40 | /// list proposals; optionally apply them as a new branch | 40 | /// list proposals; optionally apply them as a new branch |
| 41 | List(sub_commands::list::SubCommandArgs), | 41 | List(sub_commands::list::SubCommandArgs), |
| 42 | /// send new commits as proposal amendments | 42 | /// send new commits as proposal amendments |
| 43 | Push, | 43 | Push(sub_commands::push::SubCommandArgs), |
| 44 | /// pull latest commits in proposal linked to checked out branch | 44 | /// pull latest commits in proposal linked to checked out branch |
| 45 | Pull, | 45 | Pull, |
| 46 | /// run with --nsec flag to change npub | 46 | /// run with --nsec flag to change npub |
| @@ -56,6 +56,6 @@ async fn main() -> Result<()> { | |||
| 56 | Commands::Send(args) => sub_commands::send::launch(&cli, args).await, | 56 | Commands::Send(args) => sub_commands::send::launch(&cli, args).await, |
| 57 | Commands::List(args) => sub_commands::list::launch(&cli, args).await, | 57 | Commands::List(args) => sub_commands::list::launch(&cli, args).await, |
| 58 | Commands::Pull => sub_commands::pull::launch().await, | 58 | Commands::Pull => sub_commands::pull::launch().await, |
| 59 | Commands::Push => sub_commands::push::launch(&cli).await, | 59 | Commands::Push(args) => sub_commands::push::launch(&cli, args).await, |
| 60 | } | 60 | } |
| 61 | } | 61 | } |