Hi Semyon,
I am not aware of a command or a script which can be run on the CLI. But if you want Enable CUP/CUPC for a number of users at the same time then you can use the Bulk Administration-->CUPS-->Update CUPS/CUPC Users in the CUCM, this way you can enable it for a number of users at the same time.
Let me also check if anything can be done for a command in CLI.
HTH
Regards
Rajamani
P.S: Please rate helpful posts