MagicalMake.CLI (MagicalMake v0.1.2) View Source

CLI module for escript.

Link to this section Summary

Functions

Main function for escript.You can use help, version and make command executable.

Link to this section Functions

Specs

main(any()) :: :help | :version | :ok

Main function for escript.You can use help, version and make command executable.

Examples

iex> MagicalMake.CLI.main("hello")
# Exec make hello
:ok
iex> MagicalMake.CLI.main("-v")
# Displays version
:version