Skip to content

[FEATURE] Detect flag configuration format from file extension #240

@Kavindu-Dodan

Description

@Kavindu-Dodan

Requirements

With #206, flagd now has the ability to support yaml formatted flag configurations.

However, to use yaml evaluation, users should use -e, --evaluator string set to .yaml or .yml even if the flag configuration file contains the correct extension.

To enhance the user experience, flag format can be detected from the file extension and omit the requirement of evaluator string parameter.

This simplifies, flagd start -e yaml -f example_flags.yaml command to flagd start -f example_flags.yaml.

Metadata

Metadata

Labels

Needs TriageThis issue needs to be investigated by a maintainerenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions