Module init
An implementation of the Erlang/OTP init interface.
Description
This module implements a strict subset of the Erlang/OTP init interface.
Function Index
get_argument/1 | Returns values associated with a given command-line user flag. |
get_plain_arguments/0 | Gets plain command-line arguments. |
Function Details
get_argument/1
get_argument(Flag::atom()) -> {ok, [string()]} | error
Flag
: flag to get values for
returns: error
if no value is associated with provided flag or values in
order of the command line
Returns values associated with a given command-line user flag.
Currently always returns error
on AtomVM.
get_plain_arguments/0
get_plain_arguments() -> [string()]
returns: plain command-line arguments as a list of strings.
Gets plain command-line arguments.
Currently always returns []
on AtomVM.