:paperclip: A utility to access the systems clipboard from Ruby.
Clippy is a cross-platform clipboard utility and script for Ruby.
clip
pbcopy
xsel
|| xclip
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