Makes rad cob show print the COB as materialized object. The previous implementation of rad cob show, which showed operations on the COB, stays available as rad cob log.
This is a breaking change to rad cob.
Related discussion: https://radicle.zulipchat.com/#narrow/stream/411091-dogfood/topic/Plumbing.20Command.20for.20COBs
Makes rad cob show print the COB as materialized object. The previous implementation of rad cob show, which showed operations on the COB, stays available as rad cob log.
This is a breaking change to rad cob.
Related discussion: https://radicle.zulipchat.com/#narrow/stream/411091-dogfood/topic/Plumbing.20Command.20for.20COBs
I decided to remove the custom format that rad cob log uses in favor of a simple JSON encoding. This is easier to parse, and needs less maintenance.
Address comments after review from Fintan:
- Add option
--prettytorad cob show - Add test for
rad cob show
Clean up. Should be good to merge now.
LGTM
Trivial rebase.
Much prettier!
Fix output order
Rebase and minor output format changes.