diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 22:04:24 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-26 07:53:43 +1000 |
commit | afd669194ad73f85e21d5dfd6d8f0ec26286ca5e (patch) | |
tree | ef8cb4305aee51625c7a227a77fb4e6d6ffcf1d3 /vendor/github.com/atotto/clipboard/README.md | |
parent | 1494a3863da457eb023178fdcc0512d59e73acbe (diff) |
use clipboard package to handle clipboard stuff
Diffstat (limited to 'vendor/github.com/atotto/clipboard/README.md')
-rw-r--r-- | vendor/github.com/atotto/clipboard/README.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/vendor/github.com/atotto/clipboard/README.md b/vendor/github.com/atotto/clipboard/README.md new file mode 100644 index 000000000..41fdd57b8 --- /dev/null +++ b/vendor/github.com/atotto/clipboard/README.md @@ -0,0 +1,48 @@ +[![Build Status](https://travis-ci.org/atotto/clipboard.svg?branch=master)](https://travis-ci.org/atotto/clipboard) + +[![GoDoc](https://godoc.org/github.com/atotto/clipboard?status.svg)](http://godoc.org/github.com/atotto/clipboard) + +# 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: + +* http://godoc.org/github.com/atotto/clipboard + +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 + + + |