Skip to content

Configure default formatter #56

Open
@MartinDelille

Description

@MartinDelille

Hi @sbeyer !

I'm now a long time user of bandit and I wondered if there was a way to configure the default formatter without passing it to the arg list ?

Here is my motivation: I have several test project and I sometimes remove the user parameter containing the formatter option so I regularly need to add again the --formatter qt to the project run argument.

Would it be possible to change the default formatter like defining a macro before including <bandit.h> ? This could also be a conan option.

I'll be happy to have your though about it before starting implementing something.

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