Skip to content

Commit

Permalink
Merge with origin/develop branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunkunrao committed Oct 8, 2018
2 parents 127cc07 + 9372f32 commit 72e8edb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cmd/iriscli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,23 @@ func main() {
version.ServeVersionCommand(cdc),
)

//Add auth and bank commands
rootCmd.AddCommand(
client.GetCommands(
authcmd.GetAccountCmd("acc", cdc, authcmd.GetAccountDecoder(cdc)),
)...)
rootCmd.AddCommand(
client.PostCommands(
bankcmd.SendTxCmd(cdc),
)...)

// add proxy, version and key info
rootCmd.AddCommand(
client.LineBreak,
keyscmd.Commands(),
version.ServeVersionCommand(cdc),
)

//add record command
recordCmd := &cobra.Command{
Use: "record",
Expand Down

0 comments on commit 72e8edb

Please sign in to comment.