]> quire.kejadlen.dev Git - quire.git/commit
Extract Quire struct to replace Repo and Config threading
authorAlpha Chen <alpha@kejadlen.dev>
Sat, 25 Apr 2026 14:10:21 +0000 (07:10 -0700)
committerAlpha Chen <alpha@kejadlen.dev>
Sat, 25 Apr 2026 14:14:19 +0000 (14:14 +0000)
commit1058300b003062e6a8e0245815c9a85b52acc2d6
treec237c15973a9cbe082ebc512c915c36d13c1bb8b
parent28f67898b20d0235e25d28bd9ce903a9d0a68939
Extract Quire struct to replace Repo and Config threading

Repo was a thin validated-name wrapper that required callers to pass
repos_dir alongside it at every call site. Quire holds the config and
provides repo() -> PathBuf and repos() -> Iterator, collapsing two
arguments into one at every command handler.

Assisted-by: GLM-5.1 via pi
src/bin/quire/commands/exec.rs
src/bin/quire/commands/repo.rs
src/bin/quire/commands/serve.rs
src/bin/quire/main.rs
src/lib.rs
src/quire.rs [new file with mode: 0644]
src/repo.rs [deleted file]