-
Notifications
You must be signed in to change notification settings - Fork 35
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
optional verbose flag #181
base: develop
Are you sure you want to change the base?
Conversation
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.
Add functionality of verbose flag and fill in godoc for cli commands
ac36269
to
4f58e1f
Compare
Codecov Report
@@ Coverage Diff @@
## develop #181 +/- ##
===========================================
+ Coverage 52.02% 52.16% +0.14%
===========================================
Files 28 28
Lines 1359 1363 +4
===========================================
+ Hits 707 711 +4
Misses 538 538
Partials 114 114
Continue to review full report at Codecov.
|
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.
Looks good to me, thanks
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.
utACK
// transaction hash | ||
txHash, err := hex.DecodeString(utils.RemoveHexPrefix(arg)) | ||
if err != nil { | ||
fmt.Printf("Error decoding tx hash hex-encoded string: %s\n", err) |
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.
What is the reasoning for printing the error as opposed to wrapping it? Also, error messages returned should begin with lowercase.
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.
that's a good point. Should just return it
@@ -14,6 +14,7 @@ import ( | |||
"strings" | |||
) | |||
|
|||
// IncludeCmd - |
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.
do you plan to update these godoc's or nah?
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.
I'll update them. Found a bug in plasmad and paused on the cli work
Addresses #162
Add optional persistent verbose flag that can be reused across commands. Not used atm.
Added some godoc