namespace Spectre.Console.Cli.Help;
///
/// Represents an executable command.
///
public interface ICommandInfo : ICommandContainer
{
///
/// Gets the name of the command.
///
string Name { get; }
///
/// Gets the description of the command.
///
string? Description { get; }
///
/// Gets a value indicating whether the command is a branch.
///
bool IsBranch { get; }
///
/// Gets a value indicating whether the command is the default command within its container.
///
bool IsDefaultCommand { get; }
///
/// Gets a value indicating whether the command is hidden.
///
bool IsHidden { get; }
///
/// Gets the parameters associated with the command.
///
IReadOnlyList Parameters { get; }
///
/// Gets the parent command, if any.
///
ICommandInfo? Parent { get; }
}