Help us shape the future of Go! Take the 2026 Go Developer Survey

lclip

command module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2015 License: MIT Imports: 9 Imported by: 0

README

lclip

cli interface for labeled clipboard.

$ echo -e "Hello\nworld" | lclip -s hello
$ lclip -g hello
Hello
world

Usage

$ lclip <operation> [...]
operations:
	lclip {-h --help}                      # show this help message
	lclip {-v --version}                   # print the version
	lclip {-l --labels}                    # list labels
	lclip {-g --get}     <label>           # paste text from label
	lclip {-s --set}     <label> [file(s)] # copy text to label
	lclip {-d --delete}  <label(s)>        # delete label(s)

Installation

###compiled binary

See releases

###go get

go get github.com/kusabashira/lclip

Operations

-h, --help

Display a help message.

-v, --version

Display the version of lclip.

-l, --labels

List sorted labels.

-g, --get label

Paste text from label. If not exists label, paste a newline.

-s, --set label file(s)

Copy text to label. Read from file(s), or standard input, and nothing output.

-d, --delete label(s)

Delete label(s) from the storage.

Other Specification

  • Storage path is ~/.lclip.json
  • If not exist exists storage, storage will be created.

License

MIT License

Author

wara kusabashira227@gmail.com

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