Current section
Files
Jump to
Current section
Files
src/pane.erl
-module(pane).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/pane.gleam").
-export([main/0]).
-file("src/pane.gleam", 8).
-spec main() -> nil.
main() ->
case erlang:element(4, argv:load()) of
[<<"build"/utf8>>] ->
commands@build:main();
[<<"run"/utf8>>] ->
commands@run:main();
_ ->
gleam_stdlib:println(
<<(gleam_community@ansi:red(<<"Error: "/utf8>>))/binary,
"Incorrect Usage."/utf8>>
)
end,
nil.