aboutsummaryrefslogtreecommitdiff
path: root/lib/toglx/escript.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toglx/escript.ex')
-rw-r--r--lib/toglx/escript.ex5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/toglx/escript.ex b/lib/toglx/escript.ex
index 5ccc40c..a50c5b1 100644
--- a/lib/toglx/escript.ex
+++ b/lib/toglx/escript.ex
@@ -15,4 +15,9 @@ defmodule Toglx.Escript do
|> IO.inspect
end
+ def run(%{cmd: "discard"}) do
+ Toglx.submit_discard_event
+ |> IO.inspect
+ end
+
end