refactor(komorebic): the Windows komorebic takes Messages and Opts<WindowsCommands> from komorebic-core

Same change as for KDE and macOS in the Windows komorebic: the 121 common subcommands come from Messages, the Windows ones stay in WindowsCommands, the command line is Opts<WindowsCommands>, send_or_query writes or prints any message and docgen goes through komorebic_core::docgen with DocFormat::PLAIN. main.rs goes from 3532 to 2164 lines. komorebic --help lists the Messages first.

Verified: oracle (step4/oracle-check.sh): windows 187 of 187 pages byte-identical (after the usual normalisation of the one cfg(target_os) line); Windows cargo clippy --workspace --locked --all-targets -D warnings clean. Not verified: the 16 pan tests of the Windows komorebic (they cannot run on Linux).
This commit is contained in:
LGUG2Z committed 2026-10-31 01:37:54 -07:00
1 parent c46320ea5b
commit 097f9f4244
1 file changed
+1194 -2282
+1194 -2282
View File
File diff suppressed because it is too large. Load diff