commandMetadata

Extension function to get command metadata for a command class.

This convenience function allows easy access to command metadata parsing directly on Class objects.

Return

the CommandMetadata for this command class

Parameters

C

the type of the command class

See also


Inline function to get command metadata for a reified command type.

This convenience function provides type-safe access to command metadata using Kotlin's reified generics.

Return

the CommandMetadata for the command type

Parameters

C

the reified type of the command class

See also

extension function