Merge PR #2390: CLI subcommands reorganization

This commit is contained in:
Alessio Treglia
2018-09-26 22:00:49 +08:00
committed by Christopher Goes
parent e6a8b2278e
commit a2caefc8ae
11 changed files with 180 additions and 238 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const (
func GetSignCommand(codec *amino.Codec, decoder auth.AccountDecoder) *cobra.Command {
cmd := &cobra.Command{
Use: "sign <file>",
Short: "Sign transactions",
Short: "Sign transactions generated offline",
Long: `Sign transactions created with the --generate-only flag.
Read a transaction from <file>, sign it, and print its JSON encoding.`,
RunE: makeSignCmd(codec, decoder),