diff options
author | kballou <kballou@devnulllabs.io> | 2016-06-21 11:54:01 -0600 |
---|---|---|
committer | kballou <kballou@devnulllabs.io> | 2016-06-21 11:54:01 -0600 |
commit | e2e85299bcae58cdf9c6039824a89d0cca0f65ae (patch) | |
tree | 96d18779e3cda40b0b892fd10ca52b7e3a1fb389 /lib/toglx/escript.ex | |
parent | 77e4e8647d565218bfc72fbe569eb7eb00c4d8e6 (diff) | |
download | toglx-e2e85299bcae58cdf9c6039824a89d0cca0f65ae.tar.gz toglx-e2e85299bcae58cdf9c6039824a89d0cca0f65ae.tar.xz |
Add continue command to continue last entry
This will only start a new entry if there is currently no running/tracking
entry.
Diffstat (limited to 'lib/toglx/escript.ex')
-rw-r--r-- | lib/toglx/escript.ex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/toglx/escript.ex b/lib/toglx/escript.ex index a50c5b1..a3b68cc 100644 --- a/lib/toglx/escript.ex +++ b/lib/toglx/escript.ex @@ -20,4 +20,9 @@ defmodule Toglx.Escript do |> IO.inspect end + def run(%{cmd: "continue"}) do + Toglx.submit_continue_event + |> IO.inspect + end + end |