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); } } }
public static void list(listArgs args) { ListAction(args); }