Crystal module for clipboard interaction.
Add to shard.yml
:
dependencies:
easyclip:
github: kojix2/easyclip
Run shards install
require "easyclip"
# Copy 'text' to clipboard
EasyClip.copy("text")
# Paste text from the clipboard
str = EasyClip.paste
- Fork (https://github.com/kojix2/easyclip/fork)
- Feature branch (
git checkout -b new-feature
) - Commit (
git commit -am 'Add feature'
) - Push (
git push origin new-feature
) - Pull request
MIT