Support `--runtime false` in `mix igniter.install <package>`
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
AI Policy
- [x] I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue.
Is your feature request related to a problem? Please describe.
For packages mainly meant to drive only custom Mix.Task.Compiler compilers and Mix.Tasks.Format formatters, you always want developers to specify runtime: false in their dependency on your project.
Describe the solution you'd like
Similar to --only, it would be nice to support a --runtime false option in mix igniter.install <package>.
This could also be controlled by a :runtime field in Igniter.Mix.Task.Info to make the API trivial to use by Igniter consumers, similar to :only.
Describe alternatives you've considered
This can be accomplished with query strings today. The linked issue demonstrates how to do this explicitly for runtime: false, and that issue is what spawned the Igniter.Mix.Task.Info.only option we have today, so support for Igniter.Mix.Task.Info.runtime seems pretty intuitive as an enhancement.
Additional context
No response
Agreed 😄 PRs welcome to support it both in the options and as an explicit flag.
If no PRs have been put through for this yet, I can start working on it
@jbfawcett24 go for it!