public function __invoke(string $commit) { $commandHandler = $this->commandHandler; $commit = escapeshellarg($commit); return $commandHandler("git cherry-pick {$commit}"); }