feat: 增加命令行帮助信息并优化命令名称
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user