stringArgument

fun stringArgument(name: String, type: StringArgument.Type = StringArgument.Type.WORD, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null): UsageBuilder<T>

An argument that takes a String value. Type can be specified.

fun stringArgument(name: String, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null): UsageBuilder<T>

An argument that takes a String value.