mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-21 15:59:07 -05:00
support $NOSTR_CLIENT_KEY environment variable for --connect-as
This commit is contained in:
parent
4c6181d649
commit
9a9e96a829
|
@ -32,9 +32,10 @@ var defaultKeyFlags = []cli.Flag{
|
|||
},
|
||||
&cli.StringFlag{
|
||||
Name: "connect-as",
|
||||
Usage: "private key to when communicating with the bunker given on --connect",
|
||||
Usage: "private key to use when communicating with NIP-46 bunkers",
|
||||
DefaultText: "a random key",
|
||||
Category: CATEGORY_SIGNER,
|
||||
Sources: cli.EnvVars("NOSTR_CLIENT_KEY"),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user