From a82546b70303000b4fc053a1ee21d3d8c7d6ad66 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 28 Jun 2024 15:16:43 +0100 Subject: feat(login): login with nip46 remote signer and save details in git config --- src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 30ecea3..9f53084 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ #![cfg_attr(not(test), warn(clippy::pedantic))] +#![allow(clippy::large_futures)] #![cfg_attr(not(test), warn(clippy::expect_used))] use anyhow::Result; @@ -19,6 +20,12 @@ mod sub_commands; pub struct Cli { #[command(subcommand)] command: Commands, + /// remote signer address + #[arg(long, global = true)] + bunker_uri: Option, + /// remote signer app secret key + #[arg(long, global = true)] + bunker_app_key: Option, /// nsec or hex private key #[arg(short, long, global = true)] nsec: Option, -- cgit v1.2.3