#include "App.h"
#include "Cli.h"

int main(int argc, char** argv)
{
    if (argc > 1)
    {
        return bmp2tile::RunCli(argc, argv);
    }

    bmp2tile::App app;
    if (!app.Init())
    {
        return 1;
    }
    app.Run();
    app.Shutdown();
    return 0;
}
