Crates.io | cptc |
lib.rs | cptc |
version | 0.1.4 |
source | src |
created_at | 2024-02-01 06:35:34.256434 |
updated_at | 2024-04-20 05:17:39.711447 |
description | A cli tool for copying file/s contents to your clipboard |
homepage | |
repository | https://github.com/danielronalds/cptc |
max_upload_size | |
id | 1122710 |
size | 37,161 |
cptc
is a small helper CLI tool for quickly copying the
contents of file/s to your systems clipboard.
You can install cptc
from cargo
$ cargo install cptc
usage: cptc [OPTIONS] [FILE]...
A cli tool for copying file/s contents to your clipboard
Options:
--help -h Print this menu and exit
--version -V Print the version number and exit
--verbouse -v Print what is copied
--pause -p Pauses exiting of the program until ENTER is pressed
Currently on Wayland, the clipboard will be cleared when the
program ends (A limitation of rust clipboard libraries). To
overcome this use the --pause
or -p
flag to prevent the
program closing before you've had a chance to paste the
contents of the file!
The program should auto-pause when it detects Wayland, however if you can't seem to paste the content you've copied, this might be the issue