elixir-book/weather/lib/weather/cli.ex

10 lines
267 B
Elixir

defmodule Weather.CLI do
def run(argv) do
# get shortname of airport from argv
# use Weather.Gov to fetch XML data
# parse XML using :xmler_scan, see: https://medium.com/@blogscot/parsing-xml-using-elixir-mostly-f1368593b0ca
# pring
end
end