Move generate_invite to user.ex
This commit is contained in:
parent
d924b6cd3d
commit
57c71f8468
3 changed files with 26 additions and 25 deletions
|
|
@ -6,7 +6,7 @@ defmodule Mix.Tasks.Pleroma.Instance do
|
|||
@moduledoc """
|
||||
Manages Pleroma instance.
|
||||
|
||||
## Generate a new instance.
|
||||
## Generate a new instance config.
|
||||
|
||||
mix pleroma.instance new [OPTION...]
|
||||
|
||||
|
|
@ -145,6 +145,7 @@ defmodule Mix.Tasks.Pleroma.Instance do
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
defp escape_sh_path(path) do
|
||||
~S(') <> String.replace(path, ~S('), ~S(\')) <> ~S(')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue