All checks were successful
Build blog docker image / Build-Blog-Image (push) Successful in 1m26s
Reviewed-on: #5
14 lines
320 B
C#
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);
|