registerOption

fun registerOption(option: Option)

Register an option with this command.

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


open override fun registerOption(option: GroupableOption)

Register an option with this command or group.

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