Repository navigation
Feat/use rich printer for init - #1548
Conversation
2dd1fbc to
1d22954
Compare
willemneal
left a comment
There was a problem hiding this comment.
I have some nits, but in general I think that we should have a the root command handle the print.errorln of the errors. The map_err's with print.errorln here are providing context to the error and should be an error case so that the caller would have that context.
@willemneal that's a good point - instead of printing the error messages and then swallowing the errors, we should return the error for those cases. I can work on that change in a separate PR. |
e1a33c7 to
4da9a8d
Compare
What
Refactor
contract initcommand to usesoroban-cli/src/print.rs.Closes #1553
Why
To be more consistent without our output, and to reduce duplication.
Known limitations
n/a