def register_command(self, cmd_name, cmd, public=True):
        self._commands_registry.register(cmd_name, cmd, public)
Register a command name to a command instance.
dataset/ETHPy150Open cournape/Bento/bento/commands/contexts.py/GlobalContext.register_command