When you define a command task with parts in quotes, the command shows in the log without the quotes. This makes it harder to understand the log and also prevents you from copying and pasting the command into your shell.
I don't think the quotation marks must necessarily be those in the literal text. What I have done in similar situations is join the command with shlex.join before logging it.
When you define a command task with parts in quotes, the command shows in the log without the quotes. This makes it harder to understand the log and also prevents you from copying and pasting the command into your shell.
For example, for the task
the output from Poe the Poet 0.23.0 is
But as a user, I expect output like
I don't think the quotation marks must necessarily be those in the literal text. What I have done in similar situations is join the command with
shlex.join
before logging it.