ides_cli (ides v0.4.2)

View Source

Command-line escript for printing static ides supervision trees from rebar3 project BEAM files.

Summary

Functions

Escript entry point.

Run the CLI, returning the output and an implied exit code so the logic is testable.

Functions

main(Args)

-spec main([string()]) -> no_return().

Escript entry point.

run(Args)

-spec run([string()]) -> {ok, iolist()} | {error, iolist(), 1 | 2}.

Run the CLI, returning the output and an implied exit code so the logic is testable.

Returns {ok, iolist()} for exit 0, or {error, iolist(), Code} where the iolist goes to stderr and Code is 1 (runtime) or 2 (usage).