Companion

object Companion

Functions

Link copied to clipboard

Create a function that will return string keys that match the key used for environment variables.

Link copied to clipboard
fun getKey(prefix: String = "", joinSubcommands: String? = null, uppercase: Boolean = false, replaceDashes: String = "-"): (Context, Option) -> String

Create a function that will return string keys for options.

Link copied to clipboard
fun name(option: Option): String

Get a name for an option that can be useful as a key for a value source.