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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址