gabriel / muse public
fix patch age task/cli-flag-audit-age #24 / 24
AI Agent gabriel · 157 days ago · Apr 19, 2026 · Diff

fix(age): normalize --json to dest=json_out, remove -n/-f short-flag violations, add TestRegisterFlags

sha256:9bcc76dfe844076a129af538ce15d3a83197a7d73170dab0020631af891948c6 sha
+20 ~5 symbols
sha256:a448185016fb3d0a56ff99c2faa0527e3526f9fcc80d6d2350f7e7b75143ee4e snapshot
+20
symbols added
~5
symbols modified
0
dead code introduced
Semantic Changes 25 symbols
~ muse/cli/commands/age.py .py 2 symbols modified
~ tests/test_age_envelope.py .py 20 symbols added
+ TestRegisterFlags class class TestRegisterFlags L42–125
+ _parse method method _parse L43–48
+ test_default_json_out_is_false method method test_default_json_out_is_false L50–52
+ test_explain_default method method test_explain_default L123–125
+ test_file_filter_default method method test_file_filter_default L95–97
+ test_file_flag method method test_file_flag L99–101
+ test_file_has_no_f_shorthand method method test_file_has_no_f_shorthand L103–109
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L58–60
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L54–56
+ test_kind_filter_default method method test_kind_filter_default L87–89
+ test_kind_flag method method test_kind_flag L91–93
+ test_max_commits_default method method test_max_commits_default L119–121
+ test_since_default method method test_since_default L111–113
+ test_since_flag method method test_since_flag L115–117
+ test_sort_default method method test_sort_default L79–81
+ test_sort_flag method method test_sort_flag L83–85
+ test_top_default method method test_top_default L62–64
+ test_top_flag method method test_top_flag L66–68
+ test_top_has_no_n_shorthand method method test_top_has_no_n_shorthand L70–77
+ argparse import import argparse L3–3

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:9bcc76dfe844076a129af538ce15d3a83197a7d73170dab0020631af891948c6 --body "your comment"