aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks/generate_config.ex
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@example.com>2018-11-15 14:04:09 +0900
committerHakaba Hitoyo <hakabahitoyo@example.com>2018-11-15 14:04:09 +0900
commit5c8b8f6cb7212bd202924b535cd2a263416e78d4 (patch)
tree07ad2b2dd44189ae14a1ff44ff5a98013143866b /lib/mix/tasks/generate_config.ex
parent3484f687958f57ea5ce749135f78517ff12849d7 (diff)
parentcc45797f4e1765f5123c058166f6032c6a6556a0 (diff)
downloadpleroma-5c8b8f6cb7212bd202924b535cd2a263416e78d4.tar.gz
Merge remote-tracking branch 'official/develop' into develop
Diffstat (limited to 'lib/mix/tasks/generate_config.ex')
-rw-r--r--lib/mix/tasks/generate_config.ex10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/mix/tasks/generate_config.ex b/lib/mix/tasks/generate_config.ex
index 70a110561..e3cbbf131 100644
--- a/lib/mix/tasks/generate_config.ex
+++ b/lib/mix/tasks/generate_config.ex
@@ -1,7 +1,15 @@
defmodule Mix.Tasks.GenerateConfig do
use Mix.Task
- @shortdoc "Generates a new config"
+ @moduledoc """
+ Generate a new config
+
+ ## Usage
+ ``mix generate_config``
+
+ This mix task is interactive, and will overwrite the config present at ``config/generated_config.exs``.
+ """
+
def run(_) do
IO.puts("Answer a few questions to generate a new config\n")
IO.puts("--- THIS WILL OVERWRITE YOUR config/generated_config.exs! ---\n")