rclone/vendor/github.com/atotto/clipboard
Nick Craig-Wood 57d5de6fba build: fix up package paths after repo move
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
..
.travis.yml vendor: add github.com/atotto/clipboard 2019-06-26 16:49:53 +01:00
clipboard_darwin.go vendor: add github.com/atotto/clipboard 2019-06-26 16:49:53 +01:00
clipboard_unix.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
clipboard_windows.go vendor: add github.com/atotto/clipboard 2019-06-26 16:49:53 +01:00
clipboard.go vendor: add github.com/atotto/clipboard 2019-06-26 16:49:53 +01:00
go.mod vendor: add github.com/atotto/clipboard 2019-06-26 16:49:53 +01:00
LICENSE vendor: add github.com/atotto/clipboard 2019-06-26 16:49:53 +01:00
README.md vendor: add github.com/atotto/clipboard 2019-06-26 16:49:53 +01:00

Build Status

GoDoc

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