public ContainerCommandBase RegisterCommand(ICommand command)
        {
            if (command.Names.Any(x => GetCommand(x) != null)) throw new CommandAlreadyRegisteredException(command.Name, Name);

            SubCommands.Add(command);
            command.CommandRegistered(Console);
            return this;
        }