Registering commands without life before mainRust has no init or pre-main phase, so self-registering commands need another mechanism. Using a distributed slice to get the same shape.