How to change the priority of a repo in the terminal

You can do this with zypper mr -p. e.g. Change the priority of packman repo to 150

zypper mr -p 150 packman