MarsExplorer.CLI (SWAP - Mars Explorer v0.1.0) View Source
Module responsible for Mars Explorer CLI
Link to this section Summary
Functions
Receives the name of a file containing all the instructions of an exploration, executes them and displays the result
Link to this section Functions
Specs
main([String.t()]) :: :ok
Receives the name of a file containing all the instructions of an exploration, executes them and displays the result
Example
iex> MarsExplorer.CLI.main(["instructions.txt"])
:ok
1 3 N
5 1 E