aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template/elixer/base-main.exs5
-rw-r--r--template/erlang/base-main.erl5
2 files changed, 10 insertions, 0 deletions
diff --git a/template/elixer/base-main.exs b/template/elixer/base-main.exs
new file mode 100644
index 0000000..300393a
--- /dev/null
+++ b/template/elixer/base-main.exs
@@ -0,0 +1,5 @@
+defmodule {{_name_}} do
+ def {{_input_:func}} do
+ IO.puts "{{_cursor_}}"
+ end
+end
diff --git a/template/erlang/base-main.erl b/template/erlang/base-main.erl
new file mode 100644
index 0000000..addb0b4
--- /dev/null
+++ b/template/erlang/base-main.erl
@@ -0,0 +1,5 @@
+-module({{_name_:main}}).
+-export([{{_name_:main}}/0]).
+
+{{_name_:main}}() ->
+ io:put_chars("{{_cursor_}}").