+ {:error, e} -> shell_error("Error while following #{target}: #{inspect(e)}")
+ end
+ end
+
+ def run(["list"]) do
+ start_pleroma()
+
+ with {:ok, list} <- Relay.list() do
+ Enum.each(list, &print_relay_url/1)
+ else
+ {:error, e} -> shell_error("Error while fetching relay subscription list: #{inspect(e)}")