Skip to content

kojix2/easyclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyClip

test

Crystal module for clipboard interaction.

Installation

Add to shard.yml:

dependencies:
  easyclip:
    github: kojix2/easyclip

Run shards install

Usage

require "easyclip"

# Copy 'text' to clipboard
EasyClip.copy("text")

# Paste text from the clipboard
str = EasyClip.paste

Contributing

  1. Fork (https://github.com/kojix2/easyclip/fork)
  2. Feature branch (git checkout -b new-feature)
  3. Commit (git commit -am 'Add feature')
  4. Push (git push origin new-feature)
  5. Pull request

License

MIT