integerArgument

fun integerArgument(name: String, min: Int = Int.MIN_VALUE, max: Int = Int.MAX_VALUE, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null): UsageBuilder<T>

An argument that takes an Int value. The lowest value and the highest value can be specified.

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

An argument that takes an Int value.