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 CLI commands to run DB migrations #44

Merged
merged 2 commits into from
Apr 7, 2024
Merged

Conversation

spencewenski
Copy link
Member

This prompted a refactor of the RunCommand trait to add A: App and pass the App instance as a parameter in RunCommand::run. This is possibly useful for other commands, and potentially for the consumer's custom commands as well. Another benefit of passing the App instance as a parameter is it simplifies the syntax for specifying the A generic argument.

#41

This prompted a refactor of the `RunCommand` trait to add `A: App` and
pass the `App` instance as a parameter in `RunCommand::run`. This is
possibly useful for other commands, and potentially for the consumer's
custom commands as well. Another benefit of passing the `App` instance
as a parameter is it simplifies the syntax for specifying the `A`
generic argument.

#41
@spencewenski spencewenski merged commit 1828ba4 into main Apr 7, 2024
3 checks passed
@spencewenski spencewenski deleted the r-41-cli-db-migration branch April 7, 2024 05:18
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.

1 participant