Exemplo n.º 1
0
        public async Task Run()
        {
            var installedPackages = await ProjectMgr.GetInstalledPackages();

            DisplayMgr.List("INSTALLED PACKAGES", installedPackages);

            var checkUpdates = CheckForConflicts(installedPackages);

            if (checkUpdates)
            {
                var displayUpdates = CheckForUpdates(installedPackages);

                if (displayUpdates)
                {
                    installedPackages = await ProjectMgr.GetInstalledPackages();

                    DisplayMgr.List("UPDATED PACKAGES", installedPackages);
                }
            }
        }