Replace bakeware with burrito
Bakeware has been deprecated
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
defmodule FindOldMp3s.Main do
|
||||
defmodule FindOldMp3s.Application do
|
||||
@moduledoc """
|
||||
Main module to run when invoking the binary
|
||||
"""
|
||||
|
||||
use Bakeware.Script
|
||||
|
||||
@impl Bakeware.Script
|
||||
def main(args) do
|
||||
path = args
|
||||
|> Path.expand
|
||||
|
||||
Path.wildcard(path) |> Enum.each(fn path -> IO.puts(path) end)
|
||||
|
||||
0
|
||||
def start(_, _) do
|
||||
args = Burrito.Util.Args.get_arguments()
|
||||
|> parse_options
|
||||
|> execute
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user