Open ca-scribner opened 1 week ago
dry-runs like here are great but have no guarantee that they're in sync with the real code. Instead, what about using something like:
cmd = sh.COMMAND.bake(args) print(f"executing {cmd}") if not dry_run: cmd()
It would be interesting to check if we can disable some sh commands entirely somehow, so that we wouldn't even need to pass down the dry_run flag.
sh
dry_run
dry-runs like here are great but have no guarantee that they're in sync with the real code. Instead, what about using something like: