Replace bakeware with burrito

Bakeware has been deprecated
This commit is contained in:
2024-05-18 01:07:30 +02:00
parent dab64f09c8
commit 9c07c40ebc
6 changed files with 42 additions and 26 deletions

View File

@@ -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