How to set System Photo Library using the command line?

How to set System Photo Library using the command line?

I know that I can set the System Photo library in Photos.app in Preferences > Use as System Photo Library

I would like to know how to set this using the command line, giving the new System Photo ...