Skip to content

mingrammer/clip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Clip

A simple key-value store for clipboard




It is a command line tool for simple key-value store for clipboard. I often use frequently used text, especially long texts that are hard to remember, on the clipboard. But it is cumbersome to copy the text manually by using trackpad or mouse. So clip was developed to solve this problem.

Installation

Using go get

go get github.com/mingrammer/clip

It is recommended to also run dep ensure to make sure that the dependencies are in the correct versions.

Using homebrew

brew tap mingrammer/clip
brew install clip

Usage

# List all key-value pairs
clip list

# Get a value of a specific key
clip get <key>

# Set a key-value pair
clip set <key> <value>

# Delete a key
clip del <key>

# Copy a value of a specific key to clipboard
clip cp <key>

License

MIT