mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
拆分代码3
This commit is contained in:
16
shell/Commands/Info/Version.cs
Normal file
16
shell/Commands/Info/Version.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace CMLeonOS.Commands
|
||||
{
|
||||
public static class VersionCommand
|
||||
{
|
||||
public static void ProcessVersion()
|
||||
{
|
||||
Console.WriteLine(Version.DisplayVersion);
|
||||
Console.WriteLine($"Major: {Version.Major}");
|
||||
Console.WriteLine($"Minor: {Version.Minor}");
|
||||
Console.WriteLine($"Patch: {Version.Patch}");
|
||||
Console.WriteLine($"Full Version: {Version.FullVersion}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user