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


open fun aliases(): Map<String, List<String>>

A list of command aliases.

If the user enters a command that matches the a key in this map, the command is replaced with the corresponding value in in map. The aliases aren’t recursive, so aliases won’t be looked up again while tokens from an existing alias are being parsed.