From b53a014d6fb02e93c73970121f6646f94c76f175 Mon Sep 17 00:00:00 2001 From: Helmut Hummel Date: Mon, 15 Feb 2021 18:03:53 +0100 Subject: [PATCH] [FEATURE] Show command as additional information in list --- Classes/Task/CommandExecutor.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Classes/Task/CommandExecutor.php b/Classes/Task/CommandExecutor.php index 93beb69..5ab36cd 100644 --- a/Classes/Task/CommandExecutor.php +++ b/Classes/Task/CommandExecutor.php @@ -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