mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +01:00
.. | ||
.travis.yml | ||
clipboard_darwin.go | ||
clipboard_unix.go | ||
clipboard_windows.go | ||
clipboard.go | ||
go.mod | ||
LICENSE | ||
README.md |
Clipboard for Go
Provide copying and pasting to the Clipboard for Go.
Build:
$ go get github.com/atotto/clipboard
Platforms:
- OSX
- Windows 7 (probably work on other Windows)
- Linux, Unix (requires 'xclip' or 'xsel' command to be installed)
Document:
Notes:
- Text string only
- UTF-8 text encoding only (no conversion)
TODO:
- Clipboard watcher(?)
Commands:
paste shell command:
$ go get github.com/atotto/clipboard/cmd/gopaste
$ # example:
$ gopaste > document.txt
copy shell command:
$ go get github.com/atotto/clipboard/cmd/gocopy
$ # example:
$ cat document.txt | gocopy