pass CLI opts to context.