Skip to content

[FEATURE] Add configuration option for default data format #30

@synackd

Description

@synackd

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

Describe the solution you'd like
On top of the -F and -f options, it would be convenient to have a config file option to specify the default format instead of having to specify the relevant flag(s) each time.

For instance, if yaml is used as input/output format a lot, instead of having -F yaml and -f yaml for every command, specifying something like:

default-input-format: yaml
default-output-format: yaml

Would eliminate the need to specify those flags each time. Of course, the format could still be overridden by the CLI flags.

Describe alternatives you've considered
Not having config options, but there is sufficient demand to have it.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions