-
Notifications
You must be signed in to change notification settings - Fork 52
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
Runtime-configurable responses? #10
Comments
Would require adding clap to the project, which may complicate things... Unless we want to add more environment variables (pls no). Clap would complicate things because we have to know where the cargo-mommy arguments end, and where the cargo commands begins. I suggested that we change cargo-mommy from being an extension to a simple standalone binary but Aria said no. But I think that would fix #7 and make this issue easier to fix. |
JSON could be loaded from a standard location like |
Instead of CLI thingy with flags, something like confique can be used. |
I implemented it on my fork, but there are some things:
And recommendations/opinions? |
Responses really should be a path to a responses file. Just make it a |
I created |
That's sounds good to me! |
Done. If it looks good I will create a pull request. |
Go for it! |
Hi! It would be fun if
cargo-mommy
supported runtime loadingresponses.json
with custom responses.The text was updated successfully, but these errors were encountered: