clikt / com.github.ajalt.clikt.core / CliktCommand / registerArgument

registerArgument

fun registerArgument(argument: Argument): Unit

Register an argument with this command.

This is called automatically for the built in arguments, but you need to call this if you want to add a custom argument.