Skip to content

Make Dynamic file.sql #6

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

Merged
merged 5 commits into from
Jul 8, 2022
Merged

Conversation

CyberMullah
Copy link
Contributor

@CyberMullah CyberMullah commented Jul 6, 2022

This PR adds the ability to change the file.sql to be more dynamic and provided by the user.

--filename=name.sql is needed if a custom filename is needed.

Thanks

@itsromack
Copy link

would you not want to wrap the the code block in a try ... catch block?

@CyberMullah
Copy link
Contributor Author

CyberMullah commented Jul 7, 2022

@itsromack There is always a default value coming from the config file, there will not be an exception if the filename wasn't provided by the user.

@dcblogdev dcblogdev merged commit c089a3d into dcblogdev:main Jul 8, 2022
@dcblogdev
Copy link
Owner

thanks!

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.

3 participants