feat: silence progress with --quiet
This commit is contained in:
@@ -20,12 +20,13 @@ fn main() -> ExitCode {
|
||||
let ctx = Ctx {
|
||||
verbose: args.verbose,
|
||||
dry_run: args.dry_run,
|
||||
quiet: args.quiet,
|
||||
};
|
||||
|
||||
// said once here rather than by each command, so every line that follows
|
||||
// reads as the plan it is
|
||||
if ctx.dry_run {
|
||||
note!("dry run, nothing will be changed");
|
||||
note!(ctx, "dry run, nothing will be changed");
|
||||
}
|
||||
|
||||
match run(&ctx, args.command) {
|
||||
|
||||
Reference in New Issue
Block a user