@API(status = API.Status.STABLE)
        public void appendAggregate(
                final @NonNull CommandComponent<?> component,
                final @NonNull AggregateParser<?, ?> parser
        ) {
            final String prefix = component.required() ? this.requiredPrefix() : this.optionalPrefix();
            final String suffix = component.required() ? this.requiredSuffix() : this.optionalSuffix();
            this.builder.append(prefix);

            final Iterator<? extends CommandComponent<?>> innerComponents = parser.components().iterator();
            while (innerComponents.hasNext()) {
                final CommandComponent<?> innerComponent = innerComponents.next();
                this.builder.append(prefix);
                this.appendName(innerComponent.name());
                this.builder.append(suffix);
                if (innerComponents.hasNext()) {
                    this.builder.append(' ');
                }
            }
            this.builder.append(suffix);
        }
Append an aggregate component to the syntax string

@param component The component that contained the argument
@param parser    Compound argument to append
cloud-core/src/main/java/org/incendo/cloud/syntax/StandardCommandSyntaxFormatter.java