6 ms·
I guess instead of do_stuff(..., dry_run: bool = false) Something like: enum Mode { dry_run, overwrite } do_stuff(..., mode: Mode)
by ketzu 24d ago
I guess instead of
do_stuff(..., dry_run: bool = false)
Something like:
enum Mode { dry_run, overwrite }
do_stuff(..., mode: Mode)