-
Notifications
You must be signed in to change notification settings - Fork 1
Add CLI flags to override app name and description #101
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
base: main
Are you sure you want to change the base?
Conversation
Add CLI flags to override app name and description Add --app-name and --app-description flags to allow overriding app_name and app_description from the config file without modifying the YAML configuration.
WalkthroughTwo files extended the configuration system: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**/*.go📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧬 Code graph analysis (1)pkg/connector/connector.go (2)
🔇 Additional comments (8)
Comment |
|
why not set the app name and description in the config file? |
|
@laurenleach I want to be able to set variables to the app name in a script I am running multiple connectors with. |
|
If the config files are identical except for the app name, wouldn't they sync identical data from the same DB, just with a different name? |
Add CLI flags to override app name and description
Add --app-name and --app-description flags to allow overriding app_name
and app_description from the config file without modifying the YAML
configuration.
Description
Usage
baton-sql --config-path config.yml --app-name "My Custom App" --app-description "Custom description"Or via environment variables:h
BATON_APP_NAME="My Custom App" BATON_APP_DESCRIPTION="Custom description" baton-sql --config-path config.yml#### Useful links:
Or via environment variables:
BATON_APP_NAME="My Custom App" BATON_APP_DESCRIPTION="Custom description" baton-sql --config-path config.yml
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.