From 0753e0bcdd3d606f8f0226a3980bcd817117abaa Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 1 Nov 2023 00:00:00 +0000 Subject: feat(claim) create basic event replacable event with root-commit, name, description and relay tags --- src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main.rs') 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 { enum Commands { /// save encrypted nsec for future use Login(sub_commands::login::SubCommandArgs), - /// create and issue Prs + /// issue repository reference event as a maintainers + Claim(sub_commands::claim::SubCommandArgs), + /// create and issue prs Prs(sub_commands::prs::SubCommandArgs), } @@ -44,6 +46,9 @@ async fn main() -> Result<()> { Commands::Login(args) => { futures::executor::block_on(sub_commands::login::launch(&cli, args)) } + Commands::Claim(args) => { + futures::executor::block_on(sub_commands::claim::launch(&cli, args)) + } Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)), } } -- cgit v1.2.3