#!/usr/bin/env escript

main(_) ->
    io:fwrite("Example of usage:~n"),
    io:fwrite("1> mimerl:extension(<<\"c\">>).~n"),
    io:fwrite("~p~n", [mimerl:extension(<<"c">>)]),
    io:fwrite("2> mimerl:filename(<<\"test.cpp\">>).~n"),
    io:fwrite("~p~n", [mimerl:filename(<<"test.cpp">>)]),
    io:fwrite("3> mimerl:mime_to_exts(<<\"text/plain\">>).~n"),
    io:fwrite("~p~n", [mimerl:mime_to_exts(<<"text/plain">>)]).
