Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (25 sloc) 591 Bytes
#!/usr/bin/env escript
%% -*- mode: erlang -*-
%%%' HEADER
%% @author {{author_name}} <{{author_email}}>
%% @copyright {{copyright_year}} {{author_name}}
%% @doc {{description}}
%% @end
-export([main/1]).
-define(CMD, filename:basename(escript:script_name())).
%%%.
%%%' PUBLIC API
-spec main(Args) -> void()
when
Args :: list(string()).
main(_)->
usage().
%%%.
%%%' PRIVATE FUNCTIONS
%% @private
-spec usage() -> void().
usage() ->
io:format("Usage: ~s ...~n", [?CMD]),
halt(1).
%%%.
%%% vim: set filetype=erlang tabstop=2 foldmarker=%%%',%%%. foldmethod=marker: