mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-05-01 18:42:51 +08:00
21 lines
491 B
C#
21 lines
491 B
C#
using Spectre.Console.Cli;
|
|
|
|
namespace NetAdmin.BizServer.Host;
|
|
|
|
/// <summary>
|
|
/// 命令行参数
|
|
/// </summary>
|
|
public sealed class CommandLineArgs : CommandSettings
|
|
{
|
|
/// <summary>
|
|
/// 插入种子数据
|
|
/// </summary>
|
|
[CommandOption("-i|--insert-seed-data")]
|
|
public bool InsertSeedData { get; set; }
|
|
|
|
/// <summary>
|
|
/// 同步数据库结构
|
|
/// </summary>
|
|
[CommandOption("-s|--sync-structure")]
|
|
public bool SyncStructure { get; set; }
|
|
} |