ash-project / igniter

A code generation and project patching framework.
https://hexdocs.pm/igniter/readme.html
MIT License
155 stars 20 forks source link

Add `only` configuration, and `only` CLI arg for for specifying dependency environments #61

Closed zachdaniel closed 1 month ago

zachdaniel commented 3 months ago
  1. Add a --only option to mix igniter.install
  2. Add an only key to Igniter.Mix.Task.Info
  3. When installing, if the --only key doesn't include the current env, tell them to rerun
  4. When installing, if a dependency that was added has an env in its matching that is not the current env, we prompt the user to rerun the installer for any non-matching packages, with an explicit --only command. (this is the one you were missing I think) When installing with --only, if a dependency already exists and doesn't have an only option, we overwrite it with the value of --only.