mix potionx.new (potionx_new v0.0.19) View Source
Creates a new Potionx project.
It expects the path of the project as an argument.
mix potionx.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
--db_password
- database password--db_user
- database user--default_email
- default email--no-frontend
- don't install frontend--no-install-deps
- don't install deps--no-migrations
- don't run migrations--no-users
- don't set up users and default user--verbose
- use verbose output
Installation
mix potionx.new
by default prompts you to fetch and install your
dependencies. You can enable this behaviour by passing the
--install
flag or disable it with the --no-install
flag.
Examples
mix potionx.new hello_world
Would generate the following directory structure and modules:
hello_world/ HelloWorld
apps/
hello_world/ Hello
hello_world_graphql/ HelloWorldGraphQl
hello_world_web/ HelloWorldWeb
To print the Potionx installer version, pass -v
or --version
, for example:
mix potionx.new -v
Link to this section Summary
Functions
Callback implementation for Mix.Task.run/1
.