making xcri-cap generation into an artisan task.