Mister.Version.CLI 3.0.0

dotnet tool install --global Mister.Version.CLI --version 3.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Mister.Version.CLI --version 3.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Mister.Version.CLI&version=3.0.0
                    
nuke :add-package Mister.Version.CLI --version 3.0.0
                    

Mister.Version CLI

version .NET License

Command-line tool for analyzing, reporting, and managing versions across your .NET monorepo.

Features

  • Version Reports: Generate reports in multiple formats (text, JSON, CSV, dependency graphs)
  • Version Calculation: Calculate versions for individual projects with detailed reasoning
  • Changelog Generation: Automatically generate changelogs from conventional commits
  • Dependency Visualization: Visualize dependency graphs (Mermaid, DOT, ASCII)
  • Conventional Commits: Smart semantic versioning based on commit message conventions
  • Branch-Aware Versioning: Different strategies for main, dev, release, and feature branches

Installation

Global Tool

dotnet tool install --global Mister.Version.CLI --version 3.0.0

Local Tool

dotnet new tool-manifest  # if you don't have one already
dotnet tool install --local Mister.Version.CLI --version 3.0.0

Quick Reference

Generate Version Report

# Text report
mr-version report

# JSON report
mr-version report -o json -f versions.json

# CSV report
mr-version report -o csv -f report.csv

# Dependency graph (Mermaid)
mr-version report -o graph --graph-format mermaid

# Dependency graph (DOT for Graphviz)
mr-version report -o graph --graph-format dot -f dependencies.dot

# ASCII tree
mr-version report -o graph --graph-format ascii

Calculate Single Project Version

# Get version for a specific project
mr-version version -p src/MyProject/MyProject.csproj

# Detailed output with reasoning
mr-version version -p src/MyProject/MyProject.csproj -d

# JSON output
mr-version version -p src/MyProject/MyProject.csproj -j

Generate Changelog

# Generate changelog from last tag to HEAD
mr-version changelog

# Generate for specific version range
mr-version changelog --from 2.2.0 --to 2.3.0

# Output to file
mr-version changelog --output-file CHANGELOG.md

# Different formats
mr-version changelog --output markdown  # Markdown (default)
mr-version changelog --output text      # Plain text
mr-version changelog --output json      # JSON

Common Options

Option Description
-r, --repo Repository root path
-o, --output Output format (text, json, csv, graph)
-f, --file Output file path
--include-test-projects Include test projects
--graph-format Graph format (mermaid, dot, ascii)
--changed-only Show only projects with changes

Documentation

For complete documentation, configuration options, and usage examples, see the main README.

CI/CD Integration

GitHub Actions

- name: Install CLI tool
  run: dotnet tool install --global Mister.Version.CLI

- name: Generate version report
  run: mr-version report -o json -f version-report.json

- name: Upload version report
  uses: actions/upload-artifact@v4
  with:
    name: version-report
    path: version-report.json

License

MIT License - see the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
3.0.0 1,105 12/1/2025
3.0.0-alpha.5 639 12/1/2025
3.0.0-alpha.4 163 11/26/2025
3.0.0-alpha.3 153 11/26/2025
3.0.0-alpha.2 225 11/21/2025
2.2.0 444 11/19/2025
2.1.3 355 10/14/2025
2.1.2 363 9/16/2025
2.1.1 319 9/16/2025
2.1.0 181 8/15/2025
2.0.0 180 8/15/2025
1.3.1 199 8/15/2025
1.3.0 202 8/14/2025
1.1.1 462 6/11/2025
1.1.0 223 6/7/2025
1.1.0-rc.16 139 6/7/2025
1.1.0-rc.15 94 6/6/2025
1.1.0-rc.14 105 6/6/2025
1.1.0-rc.13 107 6/6/2025
1.1.0-rc.12 154 6/6/2025
Loading failed