aos clipboard
Read and write the system clipboard
2 commands. Run aos clipboard --help for the same list from the binary, or see every group.
Read and write the system clipboard as text. copy takes words or stdin, paste prints to stdout, so both sit naturally in a pipeline. To react to clipboard changes, use aos watch clipboard.
Commands
Section titled “Commands”aos clipboard copy
Section titled “aos clipboard copy”Copy stdin, or the given words, to the clipboard
aos clipboard copy [text...]echo hello | aos clipboard copyaos clipboard copy "some text"aos clipboard paste
Section titled “aos clipboard paste”Print the clipboard to stdout
aos clipboard pasteaos clipboard paste > note.txt