View Source mix grf.new (Griffin v0.1.0)
Creates a new Griffin project.
It expects the path of the project as an argument.
$ mix grf.new PATH
A project at the given PATH will be created.
options
Options
--input-path
- configures Griffin to search for source files on a given path--output-path
- configures Griffin to write generated files to a given path-v
,--version
- prints the Griffin installer version
installation
Installation
mix grf.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
Examples
$ mix grf.new blog
Is equivalent to:
$ mix grf.new blog --input-path priv/src --output-path _site