dotnet-version-cli icon indicating copy to clipboard operation
dotnet-version-cli copied to clipboard

Feature: quiet mode

Open shaunthegeek opened this issue 2 years ago • 0 comments

as a GitLab CI user,
I want to get project version number without other info, so I can use it in shell.

MyLibrary.csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <Version>1.2.0</Version>
  </PropertyGroup>

</Project>

current

dotnet-version

dotnet-version-cli version 2.4.1.0 Project version is: 1.2.0

dotnet-version | tail -n 1

1.2.0

expected

dotnet-version -o quiet

1.2.0

shaunthegeek avatar Sep 22 '23 13:09 shaunthegeek