finesse.script.spec.KatSpec.register_command

KatSpec.register_command(adapter, **kwargs)[source]

Add parser and generator support for a command.

Parameters
adapterItemAdapter

The command adapter.

Other Parameters
overwritebool, optional

Overwrite commands with the same aliases, if present. If False and one of adapter’s aliases already exists, a KeyError is raised. Defaults to False.