mix rephi.new (Rephi v0.1.0)
View SourceCreates a new Rephi application.
It expects the path of the project as an argument.
mix rephi.new PATH [--module MODULE] [--app APP]
A project at the given PATH will be created. The application name and module
name will be retrieved from the path, unless --module
or --app
is given.
Options
--app
- the name of the OTP application--module
- the name of the base module in the generated skeleton--database
- specify the database adapter for Ecto. One of:postgres
- via https://github.com/elixir-ecto/postgrex (default)mysql
- via https://github.com/elixir-ecto/myxqlmssql
- via https://github.com/livehelpnow/tdssqlite3
- via https://github.com/elixir-sqlite/ecto_sqlite3
Please check the driver docs for more information. Defaults to "postgres".
--no-frontend
- do not generate frontend applications--binary-id
- usebinary_id
as primary key type in Ecto schemas
Examples
mix rephi.new hello_world
Is equivalent to:
mix rephi.new hello_world --module HelloWorld