refactor: pass invocation options down instead of reading a global
This commit is contained in:
5
src/ctx.rs
Normal file
5
src/ctx.rs
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user