Quickly generate a PR chart for your ADO repositories, grouped per month.
Use the command line to pass the following arguments:
--ado-org
: the name of the Organization in ADO--ado-proj
the name of the Project in ADO--ado-repo
the UUID of the Repository in ADO--ado-pat
: a PAT for ADO with scope vso.code--start-date
: the date from when to start counting. Format=yyyyMMdd- (optional)
--pr-status
: the status of the requested PR [completed, active, abandoned, any] - (optional)
--page-size
: the number of items you wish to receive (REST API defaults to 100)
or create an appsettings.json
file based on the template and use the -f
flag to run
ado-pr-chart.exe -f
- Go to Repository Settings in ADO: https://dev.azure.com/<Organization>/<Project>/_settings/repositories
- Select the repository you are interested in
- Look at the URL bar in your browser, there is a UUID at the end:
_settings/repositories?repo=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx
- save the image to a file (currently only displays the link)
- make colors customizable
- provide ability to choose fonts, colors and size
- decent error handling
- show help output when wrong arguments are provided
- Add instructions how to find Repository UUID
- Fix hardcoded date
- QuickChart / QuickChart-C# Simple online service and Client SDK to generate charts on the fly.
- commandlineparser Best Commandline argument parser for netcore.
- Newtonsoft.JSON / JSON.NET the default library for JSON in netcore.