feat: 增加命令行帮助信息并优化命令名称

This commit is contained in:
2025-01-28 23:34:33 +08:00
parent 1a8469c264
commit b8d17ddb96

View File

@@ -12,7 +12,7 @@ internal static class Program
else
switch (args[0])
{
case "get":
case "list":
switch (args.Length)
{
case 1:
@@ -108,6 +108,9 @@ internal static class Program
}
break;
default:
AnsiConsole.MarkupLine("[red]命令没有找到[/][gray]:[/] [white]接受的命令为 add, remove, list[/]");
return;
}
}
}