ICommandInfo Interface
Represents an executable command.
public interface ICommandInfo : ICommandContainer
- Namespace
- Spectre
.Console .Cli .Help - Interfaces
Properties
- abstract string Description
- Gets the description of the command.
- abstract bool IsBranch
- Gets a value indicating whether the command is a branch.
- abstract bool IsDefaultCommand
- Gets a value indicating whether the command is the default command within its container.
- abstract bool IsHidden
- Gets a value indicating whether the command is hidden.
- abstract string Name
- Gets the name of the command.
- abstract IReadOnlyList<ICommandParameter> Parameters
- Gets the parameters associated with the command.
- abstract ICommandInfo Parent
- Gets the parent command, if any.