refactor: standardize --format→--json/-j for cherry-pick, revert, reset
Same pattern applied: replace dual --format/-f + --json (store_const) with single canonical --json/-j (store_true, dest=json_out).
All fmt: str references removed from run() and internal helpers. TDD: parser tests updated/added across all three commands and their test files.
sha256:33829aa4a8c0f6555f263d09b279d1a1c36f082c2965d506abbc52fd71f2dfad
sha
+15
~18
−10
symbols
sha256:8935c090450e82d18e936a8d74417bef2d0c838bc9dc8cdb21f84784b79d1d36
snapshot
+15
symbols added
~18
symbols modified
−10
symbols removed
0
dead code introduced
Semantic Changes
43 symbols
−
test_unknown_format_sanitized_in_stderr
method
method test_unknown_format_sanitized_in_stderr L486–489
+
test_unknown_flag_with_ansi_exits_nonzero
method
method test_unknown_flag_with_ansi_exits_nonzero L467–470
−
test_invalid_format_exits_1_to_stderr
method
method test_invalid_format_exits_1_to_stderr L711–714
+
test_unknown_flag_exits_nonzero_security
method
method test_unknown_flag_exits_nonzero_security L712–714
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:33829aa4a8c0f6555f263d09b279d1a1c36f082c2965d506abbc52fd71f2dfad --body "your comment"
No comments yet. Be the first to start the discussion.