private ILocalPackageIndexBuilder GetBuilder(Arguments arguments)
        {
            var logLevel = LogLevel.Information;

            if (arguments.Quiet)
            {
                logLevel = LogLevel.Quiet;
            }
            else if (arguments.Verbose)
            {
                logLevel = LogLevel.Verbose;
            }

            var logFactory = new LogFactory(logLevel);

            logFactory.AddProvider(new ConsoleLogger());

            var indexFactory = new PackageIndexFactory(logFactory);

            return(indexFactory.GetLocalIndexBuilder());
        }