Files
YaeBlog/YaeBlog/Program.cs
jackfiled 4085b0d99c
All checks were successful
Build blog docker image / Build-Blog-Image (push) Successful in 1m26s
feat: 图片扫描和发布命令 (#5)
Reviewed-on: #5
2024-08-25 15:38:58 +08:00

14 lines
320 B
C#

using System.CommandLine;
using YaeBlog.Commands;
RootCommand rootCommand = new("YaeBlog CLI");
rootCommand.AddServeCommand();
rootCommand.AddNewCommand();
rootCommand.AddListCommand();
rootCommand.AddWatchCommand();
rootCommand.AddScanCommand();
rootCommand.AddPublishCommand();
await rootCommand.InvokeAsync(args);