zx/zomp/lib/otpr/zx/0.10.7/templates/simplecli.erl
Craig Everett fac2aaf6b6 Expand daemon public interface; minor fix.
Added:
- zx_daemon:dir/1
- zx_daemon:dirv/1
- zx_daemon:argv/0
- zx_daemon:meta/0

Fixed:
- `zx remove mirror`
2020-06-10 15:41:39 +09:00

26 lines
716 B
Erlang

%%% @doc
%%% 〘*PROJECT NAME*〙: 〘*MODULE*〙
%%%
%%% This module is currently named `〘*MODULE*〙', but you may want to change that.
%%% Remember that changing the name in `-module()' below requires renaming
%%% this file, and it is recommended to run `zx update .app` in the main
%%% project directory to make sure the ebin/〘*MODULE*〙.app file stays in
%%% sync with the project whenever you add, remove or rename a module.
%%% @end
-module(*MODULE*).
-vsn("〘*VERSION*〙").
*AUTHOR*
*COPYRIGHT*
*LICENSE*
-export([start/1]).
-spec start(ArgV) -> ok
when ArgV :: [string()].
start(ArgV) ->
ok = io:format("Hello, World! Args: ~tp~n", [ArgV]),
zx:silent_stop().