forked from TrueCloudLab/neoneo-go
cli: rename wallet
commands
Creating accounts is done frequently so it makes sense to have lesser name for this command. `create` -> `init` `create-account` -> `create`
This commit is contained in:
parent
03d0a6519a
commit
2d82eb89f8
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ func NewCommands() []cli.Command {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "create",
|
Name: "init",
|
||||||
Usage: "create a new wallet",
|
Usage: "create a new wallet",
|
||||||
Action: createWallet,
|
Action: createWallet,
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
|
@ -102,7 +102,7 @@ func NewCommands() []cli.Command {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "create-account",
|
Name: "create",
|
||||||
Usage: "add an account to the existing wallet",
|
Usage: "add an account to the existing wallet",
|
||||||
Action: addAccount,
|
Action: addAccount,
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
|
|
Loading…
Reference in a new issue