gabriel / muse public
fix main #23 / 100

fix: restore structured --help output for all CLI commands

argparse's default HelpFormatter collapses description text into a single paragraph, destroying the line breaks and indentation of module docstrings used as command descriptions.

Add formatter_class=argparse.RawDescriptionHelpFormatter to every multi-line add_parser() call (81 calls, 79 files) and every single-line add_parser() call that carries a description= argument (31 calls). The root parser already had the formatter set; the subcommand parsers were missing it.

Simultaneously applies three performance/quality improvements to muse status: - Remove the dead resolve_plugin_by_domain import - Defer get_head_snapshot_manifest until after the staged-status check so the manifest is not loaded twice when staging is active - Consolidate the three-pass delta["ops"] scan into a single loop

G Gabriel Cardona <gabriel@tellurstori.com> · 1d ago Mar 22, 2026 · 6acddccb · parent 418c9a69
110
files changed
410
files in snapshot
Files Changed 410 in snapshot
~110

0 comments

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