zx/zomp/lib/otpr/zx/0.12.6/templates/simplecli.erl
Craig Everett 30f1c04325 Runtime checks
- Check for presence of WX when running a GUI app
- Ensure current Erlang runtime matches bytecode on Linux
2022-01-31 20:18:44 +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().