static @NotNull JoinConfiguration commas(final boolean spaces) {
    return spaces ? JoinConfigurationImpl.STANDARD_COMMA_SPACE_SEPARATED : JoinConfigurationImpl.STANDARD_COMMA_SEPARATED;
  }
Provides a join configuration with no prefix or suffix that simply joins the components together using a single comma, matching a CSV like layout.

<p>A purely text based example of this syntax, without introducing the concepts of components, would join the two strings 'hello' and 'there' together,
creating either the output 'hello,there' or 'hello, there' depending on whether the passed boolean flag was {@code false} or {@code true} respectively.</p>

@param spaces a plain boolean flag indicating whether the returned comma-based join configuration should append a single space after each comma or not
@return the join configuration
@since 4.10.0
api/src/main/java/net/kyori/adventure/text/JoinConfiguration.java