klip

command module
v0.0.0-...-ab47253 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 10 Imported by: 0

README

license Test

klip

Text snippets on the command line! Inspired by boom and clip. Tested on Ubuntu.

Crash Course

Create a list

Usage:

klip put <list>

Example:

klip put mylist
Create a list item

Usage:

klip put <list> <item> <value>

Example:

klip put mylist myitem content goes here
Get a list

Usage:

klip get <list>

Example:

klip get mylist
Get a list item

Usage:

klip get <list> <name>

Example:

klip get mylist myitem
Delete a list

Usage:

klip delete <list>

Example:

klip delete mylist
Delete a list item

Usage:

klip delete <list> <name>

Example:

klip delete mylist myitem

Tips & Tricks

  1. Copy a list item to clipboard: klip get links mylink | xsel -b.
  2. Open a browser with URL from a list item: klip get links mylink | xargs xdg-open.
  3. Pipe to a pager: klip get links | less -r.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL