How does a socialist government with a command economy manage its economy?

How does a socialist government with a command economy manage its economy? The government lets producers set wages for workers. The government owns all homes and other forms of housing. The government allows consumers to make their own choices. The government controls factories and other forms of production.