Пример #1
0
        public static void HandleListAction(listArgs args)
        {
            if (args.assembly)
            {
                var assemblyEnumerator = new AssemblyEnumerator(RootDirectory.FullName, args.recurse);

                foreach (var assembly in assemblyEnumerator.GetAssemblies())
                {
                    DisplayVersion(assembly);
                }
            }
            else
            {
                var scanner = new ProjectScanner();
                foreach (var project in scanner.Scan(Semver.NoVersion, args.recurse))
                {
                    DisplayVersion(project);
                }
            }
        }
Пример #2
0
 public static void list(listArgs args)
 {
     ListAction(args);
 }