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

cmd: Allow config file location to be specified #863

Merged
merged 2 commits into from
Jan 26, 2021

Conversation

kyleconroy
Copy link
Collaborator

You can now pass the --file flag (-f for short) to the init, generate and compile commands.

The paths inside the configuration file are relative to the directory that file is in.

Fixes #825

@kyleconroy kyleconroy merged commit 197ed3b into master Jan 26, 2021
@kyleconroy kyleconroy deleted the kyle/config-file-location branch January 26, 2021 07:04
victoraugustolls pushed a commit to Streppel/sqlc that referenced this pull request May 6, 2021
* cmd: Allow config file location to be specified
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.

Allow passing the path to the config file via the command line
1 participant