Skip to content

Change the order of priority #58

@MrSquaare

Description

@MrSquaare

Hello,

Currently having three sources to retrieve values (file, env, flag), I am looking for a way to get the following order of priority (from the lowest to the highest):
default (flag) - file - env - flag

Indeed, since the default values are defined in the FlagSet, they are in priority on file and env sources (so currently the priority order is as follows: file - env - default (flag) - flag)

Is it possible to achieve the expected result?

Thank you.

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