Skip to content

Commit

Permalink
[FEATURE] Show command as additional information in list
Browse files Browse the repository at this point in the history
  • Loading branch information
helhum committed Feb 15, 2021
1 parent 3d8a00c commit b53a014
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Classes/Task/CommandExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ public function getTitle(): ?string

public function getAdditionalInformation(): ?string
{
return null;
$additionalInformation = $this->options['command'];
if (!empty($this->options['arguments'])) {
$additionalInformation .= ' "' . implode('","', $this->options['arguments']) . '"';
}

return $additionalInformation;
}

public function getProgress(): float
Expand Down

0 comments on commit b53a014

Please sign in to comment.