Skip to content

📎 A utility to access the systems clipboard from Ruby.

License

Notifications You must be signed in to change notification settings

envygeeks/clippy

Repository files navigation

Clippy is a cross-platform clipboard utility and script for Ruby.

Build Status Test Coverage Code Climate Dependency Status

---

  • Requirements:
    • Windows: clip
    • OS X: pbcopy
    • Linux: 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