增加preview命令

This commit is contained in:
ww-rm
2025-10-26 22:14:34 +08:00
parent aace461ae0
commit a61bb43250
3 changed files with 139 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
using NLog;
using SFML.Graphics;
using SFML.System;
using SkiaSharp;
using Spectre.Console;
using Spine;
using Spine.Exporters;
using System.CommandLine;
@@ -21,14 +20,12 @@ namespace SpineViewerCLI
{
InitializeFileLog();
var cmdQuery = new QueryCommand();
var cmdExport = new ExportCommand();
var cmdRoot = new RootCommand("Root Command")
{
OptQuiet,
cmdQuery,
cmdExport,
new QueryCommand(),
new PreviewCommand(),
new ExportCommand(),
};
var result = cmdRoot.Parse(args);