bugscpp.processor.core.command.CommandRegistryMeta

class CommandRegistryMeta(name, bases, attrs)[source]

Bases: type

Metaclass which auto registers class.

The module name will be command to invoke associated class. All registered commands can be retrieved via ‘RegisteredCommands’.

get_commands : Dict[str, Command]

Returns a dictionary of registered commands.

See also

RegisteredCommands

Get a list of registered commands.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_commands()

mro()

Return a type's method resolution order.

mro()

Return a type’s method resolution order.