added transformOptions helper to lib/command