How to create user with aliases via cli?

here’s my complete script, the solution to the problem: