Adding listen-port option to mix mobilizon.instance gen
This commit is contained in:
parent
640d550176
commit
61a8bf44f2
@ -24,6 +24,7 @@ defmodule Mix.Tasks.Mobilizon.Instance do
|
||||
- `--dbname DBNAME` - the name of the database to use
|
||||
- `--dbuser DBUSER` - the user (aka role) to use for the database connection
|
||||
- `--dbpass DBPASS` - the password to use for the database connection
|
||||
- `--listen-port PORT` - the port the app should listen to, defaults to 4000
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
@ -48,7 +49,8 @@ defmodule Mix.Tasks.Mobilizon.Instance do
|
||||
dbname: :string,
|
||||
dbuser: :string,
|
||||
dbpass: :string,
|
||||
dbport: :integer
|
||||
dbport: :integer,
|
||||
listen_port: :string
|
||||
],
|
||||
aliases: [
|
||||
o: :output,
|
||||
|
Loading…
Reference in New Issue
Block a user