Skip to content

kojix2/easyclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyClip

test Lines of Code

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

About

Easy copy and paste for Crystal

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •