mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/clef: add --vault flag
This commit is contained in:
parent
9b09c0fc83
commit
b2c09a7e62
1 changed files with 5 additions and 0 deletions
|
|
@ -130,6 +130,10 @@ var (
|
||||||
Name: "stdio-ui-test",
|
Name: "stdio-ui-test",
|
||||||
Usage: "Mechanism to test interface between Clef and UI. Requires 'stdio-ui'.",
|
Usage: "Mechanism to test interface between Clef and UI. Requires 'stdio-ui'.",
|
||||||
}
|
}
|
||||||
|
vaultFlag = cli.StringFlag{
|
||||||
|
Name: "vault",
|
||||||
|
Usage: "URI to the user managed database which stores Clef vault data (ruleset & kps)",
|
||||||
|
}
|
||||||
app = cli.NewApp()
|
app = cli.NewApp()
|
||||||
initCommand = cli.Command{
|
initCommand = cli.Command{
|
||||||
Action: utils.MigrateFlags(initializeSecrets),
|
Action: utils.MigrateFlags(initializeSecrets),
|
||||||
|
|
@ -219,6 +223,7 @@ func init() {
|
||||||
ruleFlag,
|
ruleFlag,
|
||||||
stdiouiFlag,
|
stdiouiFlag,
|
||||||
testFlag,
|
testFlag,
|
||||||
|
vaultFlag,
|
||||||
advancedMode,
|
advancedMode,
|
||||||
}
|
}
|
||||||
app.Action = signer
|
app.Action = signer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue