#nullable enable

namespace MBN_STOCK_WEBVIEW.DbWriteSmoke;

internal static class Program
{
    private static async Task<int> Main(string[] args)
    {
        if (OwnedManualSmokeResidueRecovery.IsRequested(args))
        {
            return await OwnedManualSmokeResidueRecovery.RunAsync(args, Console.Out)
                .ConfigureAwait(false);
        }

        return await DevelopmentDatabaseWriteSmokeApp.RunAsync(
                args,
                ProductionDevelopmentDatabaseSmokePlan.Create,
                Console.Out)
            .ConfigureAwait(false);
    }
}
