def change_func_call_name(self, original_node, updated_node) -> cst.Name:
        """Removes cmd_prefix from a call where the command begins with the cmd_ prefix."""
        name = original_node.value

        if name in MIGRATION_MAP:
            replacement = MIGRATION_MAP[name]

        else:
            replacement = name[4:]

        self.lint(
            original_node,
            f"Use of 'cmd_' prefix is deprecated. '{name}' should be replaced with '{replacement}'",
        )

        return updated_node.with_changes(value=replacement)
Removes cmd_prefix from a call where the command begins with the cmd_ prefix.
libqtile/scripts/migrations/remove_cmd_prefix.py