ICommandParameter Interface
Represents a command parameter.
public interface ICommandParameter
- Namespace
- Spectre
.Console .Cli .Help - Implementing Types
Properties
- abstract DefaultValueAttribute DefaultValue
- Gets the default value of the parameter, if specified.
- abstract string Description
- Gets the description of the parameter.
- abstract bool IsFlag
- Gets a value indicating whether the parameter is a flag.
- abstract bool IsHidden
- Gets a value indicating whether the parameter is hidden.
- abstract bool Required
- Gets a value indicating whether the parameter is required.