beam_homunculus v0.1.0 BeamHomunculus.CLI

This module contains functions to parse command line and dispatch to commands.

Summary

Functions

Calls command which given a parameter

Dispatches to a specific command

Starts a homunculus

Parses arguments

Functions

call(arg)

Specs

call({module, atom, [term]}) :: any

Calls command which given a parameter

dispatch(opts)

Specs

dispatch(keyword(boolean | String.t)) :: {module, atom, [term]}

Dispatches to a specific command

main(argv)

Specs

main(OptionParser.argv) :: no_return

Starts a homunculus

parse(argv)

Specs

parse(OptionParser.argv) :: keyword(boolean | String.t)

Parses arguments