cptc

Crates.iocptc
lib.rscptc
version0.1.4
sourcesrc
created_at2024-02-01 06:35:34.256434
updated_at2024-04-20 05:17:39.711447
descriptionA cli tool for copying file/s contents to your clipboard
homepage
repositoryhttps://github.com/danielronalds/cptc
max_upload_size
id1122710
size37,161
Daniel (danielronalds)

documentation

README

Copy To Clipboard

cptc is a small helper CLI tool for quickly copying the contents of file/s to your systems clipboard.

Installation

You can install cptc from cargo

$ cargo install cptc

Usage

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

Wayland support

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

Commit count: 26

cargo fmt