МБ
@doc """
Runs the given command.
"""
def run(command)
def run({:create, bucket}) do
KV.Registry.create(KV.Registry, bucket)
{:ok, "OK\r\n"}
end
Что за синтаксис такой -
def run(command) без do?Тут взял https://elixir-lang.org/getting-started/mix-otp/docs-tests-and-with.html#running-commands
