boardutil
A CommandLine tool for managing the Pasteboard on macOS
Options
--set
Sets the current Pasteboard value to--read
Prints the current value of the Pasteboard--execute
Executes the current value of the Pasteboard as a command--open
Opens the current Pasteboard--clear
Clears the current Pasteboard