Shouldn't the following work?
─➤ echo "Some text" | copyq copy
Note: Started User activity for: CopyQ Client
Note: Ended activity
DEBUG: Message received: CommandException
ScriptError: Failed to copy to clipboard!
The command is missing the dash argument to signify that stdin is passed to the copy function.
echo "Some text" | copyq copy -
Maybe we could show this in the examples.
Not exactly the same command, but copyq copy - < file.txt is mentioned on the web site in the README file.
I accept pull requests so feel free to update it (or the documentation).
That's true. In my mind I was thinking of pbcopy, which doesn't require the -.
Most helpful comment
The command is missing the dash argument to signify that stdin is passed to the
copyfunction.