Comtile38 is your comrade for Tile38 command generation in Elixir. Intended for use inside Livebook. Livebook is a web application for writing interactive and collaborative code notebooks for Elixir. Comtile38 helps you generate correct commands with the right arity. You can then use your favorite Elixir RESP client to push them to the Tile38 geospatial database.
It parses the Tile38 commands documentation and generates functions in compile-time. All functions are defined in the Comtile38
module.
Add the :comtile38
dependency to your mix.exs
file:
defp dependencies do
[{:comtile38, ">= 0.0.1"}]
end
Then run $ mix deps.get
to install it.
You also get nice documentation for each command directly from the Tile38's documentation. You can even check it out right off your IEx session.