View Source mix igniter.new (igniter_new v0.5.6)

Creates a new project using mix new, and adds igniter to the project.

Options

All options are passed through to underlying installers, except for the following:

  • --install - A comma-separated list of dependencies to install using mix igniter.install after creating the project.
  • --example - Request example code to be added to the project when installing packages.
  • --with - The command to use instead of new, i.e phx.new
  • --with-args - Additional arguments to pass to the installer provided in --with
  • --yes or -y - Skips confirmations during installers. The -y option cannot be applied to the --with command, as it may or may not support it. Use --with-args to provide arguments to that command.

Options for mix.new

  • --module - The base module name to use for the project.
  • --sup - Generates an OTP application skeleton including a supervision tree.
  • --umbrella - Generates an umbrella project.

Example

mix igniter.new my_project --install foo,bar,baz --with=phx.new --with-args="--no-ecto"