From 62d7f2fb26f2843fa8f7ff8b988bac14e5f756e2 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 14 Feb 2024 08:54:27 +0000 Subject: feat!: move `claim` > `init` this aligns with gitstr and is more intuative the idea behind using claim to indicate that it is only for maintainersto do is valid but its too confusing --- 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 539d9ff..0e8e847 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ enum Commands { /// save encrypted nsec for future use Login(sub_commands::login::SubCommandArgs), /// issue repository reference event as a maintainers - Claim(sub_commands::claim::SubCommandArgs), + Init(sub_commands::init::SubCommandArgs), /// send a PR / patch / patch set via nostr events Send(sub_commands::send::SubCommandArgs), /// list open PRs / patches / patch sets and pull / apply them a branch @@ -51,7 +51,7 @@ async fn main() -> Result<()> { let cli = Cli::parse(); match &cli.command { Commands::Login(args) => sub_commands::login::launch(&cli, args).await, - Commands::Claim(args) => sub_commands::claim::launch(&cli, args).await, + Commands::Init(args) => sub_commands::init::launch(&cli, args).await, 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, -- cgit v1.2.3