argument('source')); $patch = file_get_contents($this->argument('patch')); $decoder = new Decoder($source); $target = $decoder->applyPatch($patch); file_put_contents($this->argument('target'), $target); return 0; } }