refactor: pass invocation options down instead of reading a global

This commit is contained in:
2026-09-08 11:29:33 +00:00
parent 056da8b9b2
commit 3d06f7dcb0
7 changed files with 109 additions and 112 deletions

5
src/ctx.rs Normal file
View File

@@ -0,0 +1,5 @@
// how ahab was invoked, handed to everything that runs commands or writes files
pub struct Ctx {
pub verbose: bool,
pub dry_run: bool,
}