Skip to content

Give Cfgfifo an "override" option #3

@jwodder

Description

@jwodder

Give Cfgfifo an option for setting a Format that "overrides" identify(), causing identify(), load(), and dump() to only return/operate on that format. This would be useful for applications that can take an explicit --format FORMAT command-line option to specify the format of a configuration file, disregarding its file extension.

Problem: What should this option be named? "override" is a reserved keyword in Rust, so while it could be used, it would look ugly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request thereforunder considerationDev has not yet decided whether or how to implement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions