Skip to content

Easily disable progress bar #744

@nschloe

Description

@nschloe

I'd like to dynamically disable the progress bar. Right now, I repeat lots of code like

if verbose {
    for entry in mylist.progress() {
        // ...
    }
} else {
    for entry in mylist {
        // ...
    }
}

There has to be a better way. Any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions