Go module and CLI utility that works on Windows, WSL, macOS and Linux.
See cmd/pasta for installing and using the CLI utility.
go get github.com/ardnew/pasta
See godoc for detailed API.
- Copy to clipboard
clipboard.WriteAll("Hello World!")
- Paste from clipboard
text, err := clipboard.ReadAll()