Allow secure keypair input for solana-archiver
and solana
cli tools (#7106)
* Add seed phrase keypair recover to archiver * Add seed phrase keypair to cli with ASK keyword * cli main tweaks
This commit is contained in:
@@ -35,7 +35,7 @@ impl StorageSubCommands for App<'_, '_> {
|
||||
.value_name("STORAGE ACCOUNT")
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.validator(is_keypair),
|
||||
.validator(is_keypair_or_ask_keyword),
|
||||
),
|
||||
)
|
||||
.subcommand(
|
||||
@@ -55,7 +55,7 @@ impl StorageSubCommands for App<'_, '_> {
|
||||
.value_name("STORAGE ACCOUNT")
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.validator(is_keypair),
|
||||
.validator(is_keypair_or_ask_keyword),
|
||||
),
|
||||
)
|
||||
.subcommand(
|
||||
|
Reference in New Issue
Block a user