This class represents a command that can be executed. It can contain sub-commands, options and argument sources.
public class Command : CommandContainer, IEnumerable, ICommandNodeDescriptor
kind:method, kind:property, kind:ctor. Press Esc to clear.Command(String, String?, Func<Boolean>?)Initializes a new instance of Command.ActionGets or sets the action to run when this command is executed.ArgumentsGets the positional arguments of this command.ConfigGets the configuration of this command inherited from the parent command.DescriptionGets the description of this command.HiddenGets or sets a boolean indicating if this command is hidden from help.NameGets the name of this command.OptionsGets the options of this command.OptionsSectionNameGets the name of the options used when creating the usage help for this command.SubCommandsGets the sub-commands of this command.AddImpl(CommandNode)Adds a node to this command.CreateCommandContext(CommandRunConfig)Creates a new command context for this command.CreateOptionContext(CommandRunContext)Creates a new option context for this command.GetCommandApp()Gets the root command app from this command.GetFullCommandPath()Gets the full command path from this command as a string. E.g `myexe mycommand subcommand`RunAsync(IEnumerable<String>, CommandRunConfig?)Runs this command with the specified arguments and optional run configuration.ShowHelp(CommandRunConfig?)Shows the help for this command.ShowHelp(ICommandOutput, CommandRunConfig?)Shows the help for this command using the specified output renderer.ToHelpVisual(Command, TerminalVisualOutputOptions?)Builds a help visual for the specified command.