DotNet- Comand /usr/bin/dotnet
¶
The parser for /usr/bin/dotnet --version
is included in this module..
-
class
insights.parsers.dotnet.
DotNetVersion
(context, extra_bad_lines=None)[source]¶ Bases:
insights.core.CommandParser
Class for parsing the output of the
/usr/bin/dotnet --version
command.Sample output:
3.1.108
Examples
>>> dotnet_ver.major 3 >>> dotnet_ver.minor 1 >>> dotnet_ver.raw '3.1.108'