xmpp_new v0.4.0 mix xmpp.new View Source
Creates a new Exampple project.
It expects the path of the project as an argument.
mix xmpp.new PATH
A project at the given PATH will be created. The application name and module name will be retrieved from the path.
Options
-
--database- specify the database adapter for Ecto. One of:-
postgres- via https://github.com/elixir-ecto/postgrex -
mysql- via https://github.com/elixir-ecto/myxql -
mssql- via https://github.com/livehelpnow/tds Please check the driver docs for more information and requirements. Defaults to "postgres".
-
-
--ecto- generate Ecto files.
Examples
mix xmpp.new hello_world
Link to this section Summary
Functions
A task needs to implement run which receives
a list of command line args
Link to this section Functions
Link to this function
generate(base_path, generator, path, opts) View Source
Link to this function
parse_opts(argv) View Source
Link to this function
run(argv) View Source
A task needs to implement run which receives
a list of command line args.
Callback implementation for Mix.Task.run/1.
Link to this function