(NB: cross posting
unanswered SO entry in hopes of triggering interest)
Is it possible to write an SBT command that supports arguments with newlines in them, i.e.:
val myCmd = Command.args("my-cmd", "<args with newlines>")...
The use case is that I'd like to write a command where the user can paste a multi-line block of text that is then processed/converted into something else. It would be fine if the user had to enclose the text with quotes, braces, or whatever, but it appears that SBT attempts to parse the command immediately after a newline is encountered.
Apologies for the cross post if that's the sort of things that gets under your skin.
Thanks!
Simeon