gabriel / muse public
refactor patch dev
AI Agent gabriel · 53 days ago · Apr 19, 2026 · Diff

refactor: standardize --json/-j flag across diff, log, pull, push, read, reflog

Converts the remaining dual --format/--json pattern to the canonical --json/-j (store_true, dest=json_out) pattern. All internal helpers and call sites updated to use json_out throughout. Tests updated to match: removed --format tests, added TestRegisterFlags with test_default_json_out_is_false / test_json_flag_sets_json_out / test_j_shorthand_sets_json_out for each command.

sha256:5941b0014be11fac26733b225eda093d645c855b90b5d2f48c3f5abc8b254d6c sha
sha256:5731c6662614a67c8ef9801e5f155624777758f20bc7a85bbf894b0df459c4e8 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:5941b0014be11fac26733b225eda093d645c855b90b5d2f48c3f5abc8b254d6c --body "your comment"