The copy function is not workable for a paste in CLI. This calls for another copy function useable for CLI.
Do you mean because of the line breaks? When on the CLI, you can just type:
$ curl -d '
and paste it then, your sytsem will automatically insert the line breaks and wait for the closing quotation mark:
$ curl -d '{
"channel_id": "string",
"message": "string",
"root_id": "string",
"file_ids": [
"string"
],
"props": {}
}
when you then type another '
, you can continue to write your command. This is actually expected behaviour, there’s no single-line copy available if that’s what you meant.
1 Like