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

Unify command interfaces to use the same flags #313

Open
willosborne opened this issue Jul 26, 2024 · 1 comment
Open

Unify command interfaces to use the same flags #313

willosborne opened this issue Jul 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@willosborne
Copy link
Member

Feature Request

Description of Problem:

Currently the different commands have some inconsistencies in their usage that may be confusing to users.
For example, the validate command uses -m or --metaSchemasLocation to set a directory of schemas to load, whereas generate uses -s or --schemaDirectory.

These should be made consistent.

Potential Solutions:

Use --schemaDirectory in the case given. But we should also consider other parameters.
Documentation should be updated, too.

@willosborne willosborne added the enhancement New feature or request label Jul 26, 2024
@willosborne
Copy link
Member Author

We should also make the -m flag on validate behave the same as -s on generate - it should recursively traverse the directory and load all schemas. Currently it only looks at the top level folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant