namespace Spectre.Console.Cli.Help; /// /// Represents a command parameter. /// public interface ICommandParameter { /// /// Gets a value indicating whether the parameter is a flag. /// bool IsFlag { get; } /// /// Gets a value indicating whether the parameter is required. /// bool Required { get; } /// /// Gets the description of the parameter. /// string? Description { get; } /// /// Gets the default value of the parameter, if specified. /// DefaultValueAttribute? DefaultValue { get; } /// /// Gets a value indicating whether the parameter is hidden. /// bool IsHidden { get; } }