|
|
@ -31,25 +31,40 @@ import ( |
|
|
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
var ( |
|
|
|
walletCommand = cli.Command{ |
|
|
|
walletCommand = cli.Command{ |
|
|
|
Name: "wallet", |
|
|
|
Name: "wallet", |
|
|
|
Usage: "Import Ethereum presale wallets", |
|
|
|
Usage: "Manage Ethereum presale wallets", |
|
|
|
Action: utils.MigrateFlags(importWallet), |
|
|
|
ArgsUsage: "", |
|
|
|
Category: "ACCOUNT COMMANDS", |
|
|
|
Category: "ACCOUNT COMMANDS", |
|
|
|
Flags: []cli.Flag{ |
|
|
|
|
|
|
|
utils.DataDirFlag, |
|
|
|
|
|
|
|
utils.KeyStoreDirFlag, |
|
|
|
|
|
|
|
utils.PasswordFileFlag, |
|
|
|
|
|
|
|
utils.LightKDFFlag, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
Description: ` |
|
|
|
Description: ` |
|
|
|
geth wallet [options] /path/to/my/presale.wallet |
|
|
|
geth wallet import /path/to/my/presale.wallet |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
will prompt for your password and imports your ether presale account. |
|
|
|
|
|
|
|
It can be used non-interactively with the --password option taking a |
|
|
|
|
|
|
|
passwordfile as argument containing the wallet password in plaintext.`, |
|
|
|
|
|
|
|
Subcommands: []cli.Command{ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
will prompt for your password and imports your ether presale account. |
|
|
|
Name: "import", |
|
|
|
It can be used non-interactively with the --password option taking a |
|
|
|
Usage: "Import Ethereum presale wallet", |
|
|
|
passwordfile as argument containing the wallet password in plaintext. |
|
|
|
ArgsUsage: "<keyFile>", |
|
|
|
|
|
|
|
Action: utils.MigrateFlags(importWallet), |
|
|
|
|
|
|
|
Category: "ACCOUNT COMMANDS", |
|
|
|
|
|
|
|
Flags: []cli.Flag{ |
|
|
|
|
|
|
|
utils.DataDirFlag, |
|
|
|
|
|
|
|
utils.KeyStoreDirFlag, |
|
|
|
|
|
|
|
utils.PasswordFileFlag, |
|
|
|
|
|
|
|
utils.LightKDFFlag, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
Description: ` |
|
|
|
|
|
|
|
geth wallet [options] /path/to/my/presale.wallet |
|
|
|
|
|
|
|
|
|
|
|
`, |
|
|
|
will prompt for your password and imports your ether presale account. |
|
|
|
|
|
|
|
It can be used non-interactively with the --password option taking a |
|
|
|
|
|
|
|
passwordfile as argument containing the wallet password in plaintext.`, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
accountCommand = cli.Command{ |
|
|
|
accountCommand = cli.Command{ |
|
|
|
Name: "account", |
|
|
|
Name: "account", |
|
|
|
Usage: "Manage accounts", |
|
|
|
Usage: "Manage accounts", |
|
|
|