Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A utility to access the systems clipboard from Ruby.
Ruby
Branch: master
Pull request Compare This branch is 1 commit ahead, 87 commits behind envygeeks:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
tests
.gemtest
.gitignore
.rvmrc
Gemfile
Gemfile.lock
License
Rakefile
Readme.md
clippy.gemspec

Readme.md

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

Code Climate


  • Requirements:
    • Ruby1.9+ or JRuby in 1.9+
    • Any Linux distro with xsel or xclip.
    • Any OS X version that supports pbcopy.
    • At least Windows Vista if you are on Windows.
  • Development:
    • Rake
    • Minitest

Examples:

clippy --copy "#1"
clippy --paste
echo "#2" |clippy --copy
clippy --copy < "file#3.txt"
require 'clippy'
Clippy.copy('#1')
Clippy.paste and Clippy.clear
Clippy v1.0.0 by Envygeeks
  --no-encoding   Encoding
  --paste         Paste
  --help          This
  --clear         Clear
  --copy          Copy
  --version       Version
Something went wrong with that request. Please try again.