Hexper v1.5.0 Hello View Source

Hello command line application Source: Elixir command line app

Build

Build with escript (specify in mix.exs):

mix escript.build

Example

./hello --name=world
> Hello world

Link to this section Summary

Functions

main function of the cli

Process an args to say hello

Link to this section Functions

main function of the cli

Example

iex> Hello.process()
No arguments given
:ok

Process an args to say hello

Example

iex> Hello.process(['name'])
Hello
:ok