refactor(komorebic): the macOS komorebic takes Messages and Opts<MacosCommands> from komorebic-core

Same change as for KDE: the 121 common subcommands come from komorebic_core::messages::Messages, the macOS ones stay in MacosCommands (SubCommand renamed), the command line is Opts<MacosCommands>, send_or_query writes or prints any message, and docgen goes through komorebic_core::docgen with DocFormat::PLAIN. main.rs goes from 2661 to 1293 lines. komorebic --help lists the Messages first (see the KDE revision).

Verified: oracle (step4/oracle-check.sh, harness = the tree's clap section plus core's Opts<P>): macos 158 of 158 pages byte-identical (windows 187 and kde 166 still pass); macOS fake-CC cargo check --locked --workspace --all-targets: 0 errors, no warning in komorebic.
This commit is contained in:
LGUG2Z committed 2026-10-31 01:37:54 -07:00
1 parent cee49b4238
commit c46320ea5b
1 file changed
+603 -1694
File diff suppressed because it is too large. Load diff