build(komorebic-core): add the crate with the docgen renderer

A new workspace member crates/komorebic-core, the home of the clap definitions the three komorebic packages share (step 4, D20-D22). This revision only has the docgen renderer: DocFormat keeps what differs between the trees (KDE pins the width at 100, fences with ```text, ends with a newline and writes a page for a subcommand of a subcommand; Windows and macOS set no width) and the list of commands that get no page, which is the same in all three. Nothing uses it yet.

Verified: native cargo test -p komorebic-core: 3 passed, 0 failed.
This commit is contained in:
LGUG2Z committed 2026-10-31 01:37:54 -07:00
1 parent 5cc38da61d
commit e09f3591bd
5 files changed
+189

No files matched your search

Generated
+7
View File
@@ -3571,6 +3571,13 @@ dependencies = [
"windows 0.62.2",
]
[[package]]
name = "komorebic-core"
version = "0.1.42"
dependencies = [
"clap",
]
[[package]]
name = "komorebic-no-console"
version = "0.1.42"