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
send and receive cmd output #54
Comments
Similiar for amount
You did not specify an amount.' and then just exit. |
On success the output looks like this..
better would be
|
better would be
Lets make the qr code smaller. Smallest usable would be preferred. |
I am working on this. |
@Jujhar, one good way to fix this cli output message across the cli package is to do the following:
If we change the signature of the command handler to That way, each command handler can print it's success message in a way different from others and mustn't be forced to use the same pattern. What do you think @Jujhar? |
I was just playing around with this thinking about returning &response{} as null with that there is no need to remove all the return nils but this one seems better as returning nothing is better then always returning nil for each of the errors. |
Also there is a bit of an error with that signature related to the code in commands.go file. |
Correct msg would be 'You did not specify an address.' and then just exit.
Otherwise, "That is not a valid address. Try again."
Do not have unneeded blank lines in the output when re-asking the question.
The text was updated successfully, but these errors were encountered: