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

Add geni.toml file for projects #172

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Add geni.toml file for projects #172

wants to merge 6 commits into from

Conversation

emilpriver
Copy link
Owner

This PRs add the ability to select which database to use via a geni.toml file.

The idea is that you should be able to create a geni.toml file which could look like this:

[production-database]
database_url = "libsql://project"
database_token = "your_database_token_here"

[staging-database]
database_url = "libsql://project-schema"
database_token = "your_database_token_here"

which could allow the user to select the correct database via

geni --project production-database

This pr closes #167

OlleLinderos

This comment was marked as spam.

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.

Add support for managing multiple databases with a --database flag and geni.toml configuration
2 participants