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:
authorDanConwayDev <DanConwayDev@protonmail.com>2023-11-01 00:00:00 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2023-11-01 00:00:00 +0000
commit0753e0bcdd3d606f8f0226a3980bcd817117abaa (patch)
tree8eab6115e2840cbf1c16de441e1168e3fdf18eb8 /src/main.rs
parent1b740dd135aafb52b94b710b3ae24e4aaaa99632 (diff)
feat(claim) create basic event
replacable event with root-commit, name, description and relay tags
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 68b0ed6..54ad748 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -33,7 +33,9 @@ pub struct Cli {
33enum Commands { 33enum Commands {
34 /// save encrypted nsec for future use 34 /// save encrypted nsec for future use
35 Login(sub_commands::login::SubCommandArgs), 35 Login(sub_commands::login::SubCommandArgs),
36 /// create and issue Prs 36 /// issue repository reference event as a maintainers
37 Claim(sub_commands::claim::SubCommandArgs),
38 /// create and issue prs
37 Prs(sub_commands::prs::SubCommandArgs), 39 Prs(sub_commands::prs::SubCommandArgs),
38} 40}
39 41
@@ -44,6 +46,9 @@ async fn main() -> Result<()> {
44 Commands::Login(args) => { 46 Commands::Login(args) => {
45 futures::executor::block_on(sub_commands::login::launch(&cli, args)) 47 futures::executor::block_on(sub_commands::login::launch(&cli, args))
46 } 48 }
49 Commands::Claim(args) => {
50 futures::executor::block_on(sub_commands::claim::launch(&cli, args))
51 }
47 Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)), 52 Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)),
48 } 53 }
49} 54}