Files
caliverse_server/BrokerApiServer/Common/CommandLineOption.cs
2025-05-01 07:23:28 +09:00

13 lines
335 B
C#

using CommandLine;
namespace BrokerApiServer;
public class CommandLineOption
{
[Option('p', "port", Required = true, HelpText = "Server Port")]
public int Port { get; init; } = 12000;
[Option('s', "swagger", Default = false, Required = false, HelpText = "Show Swagger Mode")]
public bool UseSwagger { get; init; } = false;
}