{{=@@ @@=}}
%%%-------------------------------------------------------------------
%% @doc @@name@@ top level supervisor.
%% @end
%%%-------------------------------------------------------------------

-module(@@name@@_sup).

-behaviour(supervisor).

-export([start_link/0]).

-export([init/1]).

start_link() ->
    supervisor:start_link({local, ?MODULE}, ?MODULE, []).

%% sup_flags() = #{strategy => strategy(),         % optional
%%                 intensity => non_neg_integer(), % optional
                  period = >  ( ) }         % optional
%% child_spec() = #{id => child_id(),       % mandatory
                   start = >  ( ) ,       % mandatory
%%                  restart => restart(),   % optional
%%                  shutdown => shutdown(), % optional
%%                  type => worker(),       % optional
%%                  modules => modules()}   % optional
init([]) ->
    SupFlags = #{strategy => one_for_all,
                 intensity => 0,
                 period => 1},
    ChildSpecs = [],
    {ok, {SupFlags, ChildSpecs}}.

-------------------------------------------------------------------
 @doc @@name@@ top level supervisor.
 @end
-------------------------------------------------------------------
 sup_flags() = #{strategy => strategy(),         % optional
                 intensity => non_neg_integer(), % optional
 optional
 child_spec() = #{id => child_id(),       % mandatory
 mandatory
                  restart => restart(),   % optional
                  shutdown => shutdown(), % optional
                  type => worker(),       % optional
                  modules => modules()}   % optional
{{=@@ @@=}}

-module(@@name@@_sup).

-behaviour(supervisor).

-export([start_link/0]).

-export([init/1]).

start_link() ->
    supervisor:start_link({local, ?MODULE}, ?MODULE, []).

init([]) ->
    SupFlags = #{strategy => one_for_all,
                 intensity => 0,
                 period => 1},
    ChildSpecs = [],
    {ok, {SupFlags, ChildSpecs}}.
