ICommandOption Interface

Represents a command option.
public interface ICommandOption : ICommandParameter

Properties

abstract IReadOnlyList<string> LongNames
Gets the long names of the option.
abstract IReadOnlyList<string> ShortNames
Gets the short names of the option.
abstract bool ValueIsOptional
Gets a value indicating whether the option value is optional.
abstract string ValueName
Gets the value name of the option, if applicable.