Clippy is a cross-platform clipboard utility and script for Ruby.
---
- Requirements:
- Windows:
clip
- OS X:
pbcopy
- Linux:
xsel
||xclip
- Windows:
Examples:
clippy --copy '#1'
clippy --copy < 'file#3.txt'
echo '#2' |clippy --copy
clippy --paste
require 'clippy'
Clippy.paste; Clippy.clear
Clippy.copy('#1')
Clippy v2.3.0: Clippy [--copy [< File] ['Text']]
-p, --paste Paste
-N, --no-unescape Do not unescape \n
-c, --copy [STR] Copy a String or STDIN```
-v, --version Version
-C, --clear Clear