Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect output format from output filename if provided #801

Open
mtsfoni opened this issue Dec 28, 2023 · 1 comment
Open

Detect output format from output filename if provided #801

mtsfoni opened this issue Dec 28, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed ready for development Issue is sufficiently defined and suitable for contributors to start working

Comments

@mtsfoni
Copy link
Contributor

mtsfoni commented Dec 28, 2023

No description provided.

@mtsfoni
Copy link
Contributor Author

mtsfoni commented Jan 1, 2024

Basically, if -fn is set but --json or potential future --bom-format is not set, then we read the ending of the filename and set -json/--bom-format accordingly. If it conflicts, the explicit parameters --json/--bom-format precede.

Supported endings could be:

  • .xml
  • .json
  • .proto
  • .pb
  • .bin

@mtsfoni mtsfoni added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers ready for development Issue is sufficiently defined and suitable for contributors to start working labels Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed ready for development Issue is sufficiently defined and suitable for contributors to start working
Projects
None yet
Development

No branches or pull requests

1 participant