bp-0.1.5 is not a library.
bp
bp
("better paste") is a cross-platform clipboard tool written in Rust, based on
cb.
It can automatically detect whether to copy or paste, and is
optimised to work in pipes. Its behaviour is based on the
tee
command.
Installation
bp
is on
crates.io, so you can install
it by running:
Usage
Copy
# copy some text
|
# copy the HTML from `example.com`
|
# copy the contents of `file.txt`
# you can also pipe in a file
Paste
# paste to standard output
# paste to a pipe
| |
# paste to `out.txt`
Chaining
# remove formatting from copied text
|
# prettify, copy and view `example.json`
| | |
# edit your current clipboard
| |
# hex-encode contents of the clipboard
| |
Strip Whitespace
# copy some text with whitespace stripped
|
# paste to standard output with whitespace stripped
Licence
bp
is available under the GPL-3.0-or-later
.