upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 8c6f0d0..996b697 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -40,6 +40,8 @@ enum Commands {
40 Prs(sub_commands::prs::SubCommandArgs), 40 Prs(sub_commands::prs::SubCommandArgs),
41 /// pull latest commits in pr linked to checked out branch 41 /// pull latest commits in pr linked to checked out branch
42 Pull, 42 Pull,
43 /// push commits to current checked out pr branch
44 Push,
43} 45}
44 46
45#[tokio::main] 47#[tokio::main]
@@ -54,5 +56,6 @@ async fn main() -> Result<()> {
54 } 56 }
55 Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)), 57 Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)),
56 Commands::Pull => futures::executor::block_on(sub_commands::pull::launch()), 58 Commands::Pull => futures::executor::block_on(sub_commands::pull::launch()),
59 Commands::Push => futures::executor::block_on(sub_commands::push::launch(&cli)),
57 } 60 }
58} 61}