-
Notifications
You must be signed in to change notification settings - Fork 19
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
Make offer / take offer cli yaml serializable #437
Make offer / take offer cli yaml serializable #437
Conversation
Codecov Report
@@ Coverage Diff @@
## main #437 +/- ##
=======================================
- Coverage 12.9% 12.7% -0.2%
=======================================
Files 27 27
Lines 7916 7937 +21
=======================================
- Hits 1021 1007 -14
- Misses 6895 6930 +35
Continue to review full report at Codecov.
|
c4762da
to
42e8ae0
Compare
42e8ae0
to
eafbbb2
Compare
In an ideal world we would have something like At least for some cli actions like this one were both can be justified. What do you think? |
Sure, what really counts for me is that we use proper data structures and are consistent between the cli calls. We could also add |
Based on #436 , addresses parts of #285 .
The cli currently returns formatted strings when the user runs
make
ortake
offer. With this PR these formatted strings are replaced with a yaml object. The output therefore currently also foregoes color formatting. Please comment on the tradeoffs made here, especially whether I should attempt to preserve the color formatting.PR #436 make output:
PR #436 take output:
This PR make command:
This PR take command: