Skip to content

Commit 4f30ad5

Browse files
committed
readme
1 parent 91c6420 commit 4f30ad5

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
name = "clipcat"
33
version = "0.1.0"
44
edition = "2021"
5+
description = "A command line tool for copying the contents to clipboard of multiple files in one go."
6+
repository = "https://github.com/dcodesdev/clipcat"
7+
license = "MIT"
58

69
[dependencies]
710
anyhow = "1.0.86"

LICENSE

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2024 dcodes
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# ClipCat
2+
3+
A fast and simple CLI tool to copy multiple files with a single command.
4+
5+
## Why this tool?
6+
7+
The reason for this tool is to make it easier to copy a large amount of your source code or text files to the clipboard. This can be useful when you want to give your LLM some context on what you are asking about.
8+
9+
## Usage
10+
11+
Give it a directory and it will copy all the contents of the files in that directory and subdirectories that have a valid UTF-8 encoding to the clipboard.
12+
13+
```bash
14+
clipcat path/to/directory
15+
```
16+
17+
## Installation
18+
19+
You can either download a pre-built binary or install the tool using Cargo.
20+
21+
### Install using Cargo
22+
23+
If you have Rust installed, you can build the tool from source using Cargo.
24+
25+
```bash
26+
cargo install clipcat
27+
```
28+
29+
### Pre-built binaries
30+
31+
You can visit the [releases page](https://github.com/dcodesdev/clipcat/releases) to download the latest binary for your platform.
32+
33+
## Building from source
34+
35+
If you want to build the tool from source, you can do so using Cargo.
36+
37+
```bash
38+
git clone https://github.com/dcodesdev/clipcat
39+
cd clipcat
40+
cargo build --release
41+
```
42+
43+
## License
44+
45+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

0 commit comments

Comments
 (0)