add train endpoint cmd