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
No comments yet. Be the first to start the discussion.