boardutil
A CommandLine tool for managing the Pasteboard on macOS
Options
--set <value>
Sets the current Pasteboard value to<value>
--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