From a6be0dbe0f56095e64c18b150d220c7d851487a8 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 27 Nov 2024 10:51:08 +0000 Subject: feat: hide cli credential args from help as it makes the help harder to read and saving credentials is much better --- src/bin/ngit/cli.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bin/ngit/cli.rs') diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index cb50730..e537197 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs @@ -11,19 +11,19 @@ pub struct Cli { #[command(subcommand)] pub command: Commands, /// remote signer address - #[arg(long, global = true)] + #[arg(long, global = true, hide = true)] pub bunker_uri: Option, /// remote signer app secret key - #[arg(long, global = true)] + #[arg(long, global = true, hide = true)] pub bunker_app_key: Option, /// nsec or hex private key #[arg(short, long, global = true)] pub nsec: Option, /// password to decrypt nsec - #[arg(short, long, global = true)] + #[arg(short, long, global = true, hide = true)] pub password: Option, /// disable spinner animations - #[arg(long, action)] + #[arg(long, action, hide = true)] pub disable_cli_spinners: bool, } -- cgit v1.2.3