Crates.io | cliperge |
lib.rs | cliperge |
version | 0.3.0 |
source | src |
created_at | 2024-07-11 08:17:21.56118 |
updated_at | 2024-12-13 06:08:01.647176 |
description | A CLI tool to combine the contents of multiple files and copy to the clipboard |
homepage | |
repository | https://github.com/mei28/cliperge |
max_upload_size | |
id | 1299289 |
size | 25,571 |
📋 Cliperge is a CLI tool to combine the contents of multiple files and copy them to the clipboard.
~/
), relative paths, or file namesTo install Cliperge, you'll need to have Rust and Cargo installed. Then you can build and install the tool from source:
cargo install cliperge
or
git clone https://github.com/mei28/cliperge.git
cd cliperge
cargo install --path .
cliperge [OPTIONS] <file1> <file2> ...
-f
, --full
: Use full file paths (starting from ~/ if applicable)-r
, --relative
: Use relative paths-e
, --exclude <pattern>
: Exclude files matching the specified patterncliperge file1.txt file2.txt
cliperge file{1..3}.txt
cliperge src/**/*.rs
cliperge -r file1.txt file2.txt
cliperge -f file1.txt file2.txt
cliperge src/*.rs -f -e log file1.txt file2.txt logs/error.log
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.