Files
CliFx/CliFx/Models/CommandSchema.cs
2019-07-23 00:49:28 +03:00

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;
}
}
}