Let's say I have the following command that simply prints the passed multiple arguments.
class Hello : CliktCommand() {
val words by argument().multiple()
override fun run() {
println(words)
}
}
Calling ./hello a b "'"c"'" in sh, bash, zsh correctly produces [a, b, 'c'] as the output.
However, if I put the exact same arguments inside the argfile:
calling ./hello @argfile produces [a, b, ', c'] separating the first quote into a separate argument.