Replace old command-line API with new one that just generates the target cache.