mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
27 lines
653 B
C#
27 lines
653 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace CliFx.Models
|
|
{
|
|
public class CommandSchema
|
|
{
|
|
public Type Type { get; }
|
|
|
|
public string Name { get; }
|
|
|
|
public bool IsDefault { get; }
|
|
|
|
public string Description { get; }
|
|
|
|
public IReadOnlyList<CommandOptionSchema> Options { get; }
|
|
|
|
public CommandSchema(Type type, string name, bool isDefault, string description, IReadOnlyList<CommandOptionSchema> options)
|
|
{
|
|
Type = type;
|
|
Name = name;
|
|
IsDefault = isDefault;
|
|
Description = description;
|
|
Options = options;
|
|
}
|
|
}
|
|
} |