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

feat: Support read of configs from multiple files #1718

Merged
merged 15 commits into from
Jul 11, 2023
Merged

feat: Support read of configs from multiple files #1718

merged 15 commits into from
Jul 11, 2023

Conversation

karolisg
Copy link
Contributor

@karolisg karolisg commented Jul 7, 2023

With these changes, we support reading from multiple files. By default, it reads based on two patterns: dozer-config.*, queries/*.sql

Additionally, user can provide patterns with -c parameter, e.g. -c ./dozer-config.yaml -c ./dozer-config.sources.yaml -c ./queries/simple.sql

With these changes we support reading from multiple files. By default, it reads based on two patterns: dozer-config.*, queries/*.sql

Additionally, user can provide patterns with -c parameter, e.g. -c ./dozer-config.yaml,./dozer-config.sources.yaml,./custom_queries/simple.sql
@karolisg karolisg marked this pull request as ready for review July 7, 2023 09:37
dozer-cli/src/cli/helper.rs Outdated Show resolved Hide resolved
dozer-cli/src/config_helper.rs Outdated Show resolved Hide resolved
dozer-cli/src/config_helper.rs Outdated Show resolved Hide resolved
@karolisg karolisg merged commit 7fe1308 into getdozer:main Jul 11, 2023
@chubei chubei deleted the feat/support-splited-configs branch July 11, 2023 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants