#file-path #relative-path #clipboard #file #file-content #command-line-tool #filename

app cliperge

A CLI tool to combine the contents of multiple files and copy to the clipboard

5 releases

0.2.0 Nov 11, 2024
0.1.3 Jul 20, 2024
0.1.2 Jul 13, 2024
0.1.1 Jul 12, 2024
0.1.0 Jul 11, 2024

#605 in Command line utilities

Download history 18/week @ 2024-07-29 2/week @ 2024-09-23 3/week @ 2024-10-14 1/week @ 2024-11-04 133/week @ 2024-11-11

134 downloads per month

MIT license

9KB
182 lines

Cliperge

📋 Cliperge is a CLI tool to combine the contents of multiple files and copy them to the clipboard.

Features

  • Combine contents of multiple files
  • Copy combined contents to the clipboard
  • Support for full paths, relative paths, or file names

Installation

To 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 .

Usage

cliperge [-f | -r] <file1> <file2> ...
-f: Use full file paths
-r: Use relative paths
Default: Use file names

Examples

cliperge -f file1.txt file2.txt
cliperge -r file1.txt file2.txt
cliperge file1.txt file2.txt

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Dependencies

~0–10MB
~43K SLoC