v0.4.0
This is a feature release that allows you to specify which format to return output in, when the app runs successfully.
So an example invocation on a project in version 1.2.1
with a minor update and json output (prettified here for readability, ugly json is actually returned):
λ dotnet version --output-format=json minor
{
"product": {
"name": "dotnet-version-cli",
"version": "0.4.0"
},
"oldVersion": "1.2.1",
"newVersion": "1.3.0",
"projectFile": "C:\\your\\stuff\\project.csproj",
"versionStrategy": "minor"
}
The product
bit is information about the version cli it self, the rest is about your project and how it was changed.
If you don't specify an output-format
the default behavior is preserved which is just writing normal text to standard out.