Skip to content

Commit

Permalink
Use new human readable metric summary values
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Sep 28, 2024
1 parent a89c709 commit 98e7f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/NuGetStatsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,14 +405,14 @@ await Parallel.ForEachAsync(tasks, paralell, async (source, cancellation) =>
File.WriteAllText(fileName, JsonSerializer.Serialize(model, JsonOptions.Default));
}

listTask.Description = $":call_me_hand: [grey]Finished page[/] [aqua]#{index}[/][grey]. Total[/] [lime]{model.Totals.Authors}[/] [grey]oss authors so far across[/] {model.Totals.Repositories} [grey]repos.[/]";
listTask.Description = $":call_me_hand: [grey]Finished page[/] [aqua]#{index}[/][grey]. Total[/] [lime]{model.Summary.Authors}[/] [grey]oss authors so far across[/] {model.Summary.Repositories} [grey]repos.[/]";
listTask.StopTask();
index++;
}
});

var path = new FileInfo(fileName).FullName;
AnsiConsole.MarkupLine($"Total [lime]{model.Totals.Authors}[/] oss authors contributing to {model.Totals.Repositories} repos producing {model.Totals.Packages} with {model.Totals.Downloads} dl/day => [link={path}]{fileName}[/]");
AnsiConsole.MarkupLine($"Total [lime]{model.Summary.Authors}[/] oss authors contributing to {model.Summary.Repositories} repos producing {model.Summary.Packages} packages with {model.Summary.Downloads} dl/day => [link={path}]{fileName}[/]");

return 0;
}
Expand Down

0 comments on commit 98e7f6d

Please sign in to comment.