protected function parse(string $action, string $input) : array
{
switch ($action) {
case 'add':
case 'status':
return $this->parseStatus($input);
case 'commit':
return $this->parseCommit($input);
case 'update':
return $this->parseUpdate($input);
default:
// Do nothing
return [];
}
}