upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-11-27 10:51:08 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-11-27 10:51:08 +0000
commita6be0dbe0f56095e64c18b150d220c7d851487a8 (patch)
tree1bf12dbb40a166a841d75c389262b246835dc6cd /src/bin/ngit
parentdcbf4b83bcc1318bc2a328de96b9cd63ed6dc771 (diff)
feat: hide cli credential args from help
as it makes the help harder to read and saving credentials is much better
Diffstat (limited to 'src/bin/ngit')
-rw-r--r--src/bin/ngit/cli.rs8
1 files changed, 4 insertions, 4 deletions
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 {
11 #[command(subcommand)] 11 #[command(subcommand)]
12 pub command: Commands, 12 pub command: Commands,
13 /// remote signer address 13 /// remote signer address
14 #[arg(long, global = true)] 14 #[arg(long, global = true, hide = true)]
15 pub bunker_uri: Option<String>, 15 pub bunker_uri: Option<String>,
16 /// remote signer app secret key 16 /// remote signer app secret key
17 #[arg(long, global = true)] 17 #[arg(long, global = true, hide = true)]
18 pub bunker_app_key: Option<String>, 18 pub bunker_app_key: Option<String>,
19 /// nsec or hex private key 19 /// nsec or hex private key
20 #[arg(short, long, global = true)] 20 #[arg(short, long, global = true)]
21 pub nsec: Option<String>, 21 pub nsec: Option<String>,
22 /// password to decrypt nsec 22 /// password to decrypt nsec
23 #[arg(short, long, global = true)] 23 #[arg(short, long, global = true, hide = true)]
24 pub password: Option<String>, 24 pub password: Option<String>,
25 /// disable spinner animations 25 /// disable spinner animations
26 #[arg(long, action)] 26 #[arg(long, action, hide = true)]
27 pub disable_cli_spinners: bool, 27 pub disable_cli_spinners: bool,
28} 28}
29 29