-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve cli flags #142
improve cli flags #142
Changes from 7 commits
c36352e
18d7b64
61e56d6
14c39e7
f5a5468
7a09fbd
e37c0cf
e839a92
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,9 @@ func init() { | |
|
||
// runDemo is an example of how to make a tx | ||
func doSendTx(cmd *cobra.Command, args []string) error { | ||
if err := commands.RequireInit(cmd); err != nil { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lets wrap these, as discussed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done and done. :) |
||
return err | ||
} | ||
|
||
// load data from json or flags | ||
tx := new(btypes.SendTx) | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delightful!