diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
| 1 | #![cfg_attr(not(test), warn(clippy::pedantic))] | 1 | #![cfg_attr(not(test), warn(clippy::pedantic))] |
| 2 | #![allow(clippy::large_futures)] | ||
| 2 | #![cfg_attr(not(test), warn(clippy::expect_used))] | 3 | #![cfg_attr(not(test), warn(clippy::expect_used))] |
| 3 | 4 | ||
| 4 | use anyhow::Result; | 5 | use anyhow::Result; |
| @@ -19,6 +20,12 @@ mod sub_commands; | |||
| 19 | pub struct Cli { | 20 | pub struct Cli { |
| 20 | #[command(subcommand)] | 21 | #[command(subcommand)] |
| 21 | command: Commands, | 22 | command: Commands, |
| 23 | /// remote signer address | ||
| 24 | #[arg(long, global = true)] | ||
| 25 | bunker_uri: Option<String>, | ||
| 26 | /// remote signer app secret key | ||
| 27 | #[arg(long, global = true)] | ||
| 28 | bunker_app_key: Option<String>, | ||
| 22 | /// nsec or hex private key | 29 | /// nsec or hex private key |
| 23 | #[arg(short, long, global = true)] | 30 | #[arg(short, long, global = true)] |
| 24 | nsec: Option<String>, | 31 | nsec: Option<String>, |