finesse.script.spec.BaseSpec.register_command

BaseSpec.register_command(*args, **kwargs)[source]

Add parser and generator support for a command.

Other Parameters

aliases : str or sequence

The command alias(es).

kwargs : mapping, optional

Keyword arguments to pass to the adapter constructor; defaults to None.

overwrite : bool, optional

Overwrite commands with the same aliases, if present. Defaults to False.