Skip to content

[REQ] Provide yaml support for config.json by being able to read config.yml #2425

@dragosnutu

Description

@dragosnutu

Is your feature request related to a problem? Please describe.

It would be great to have support to pass in config.yml file instead of config.json to generate command.

Described solution

Instead of passing to generate, a config.json file using the -c parameter, we could pass in config.yml. This has multiple advantages, one of them, which is pretty important, is that we can have comments in yaml format and not in json.
Using comments would be easier to know how to configure the generate.

Also maybe a great idea would be to have also a third parameter value maybe to config-help for the --format something like yamltemplate generating the default config.yml file with description as comments.

Described alternative

The alternative would be to use the old format config.json and each time we need to print the help for that/each specific language.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions