29 lines
768 B
Markdown
29 lines
768 B
Markdown
## Install
|
|
|
|
Install from the remote host
|
|
```bash
|
|
pip3 install git+https://git.laziness.rocks/PootisPenserHere/code_to_prompt
|
|
```
|
|
|
|
Or download the repo and install from there
|
|
```bash
|
|
git clone https://git.laziness.rocks/PootisPenserHere/code_to_prompt
|
|
pip3 install code_to_prompt
|
|
```
|
|
|
|
## Usage
|
|
|
|
### Required Arguments
|
|
|
|
- `--path PATH` or `-p PATH`: Specifies the directory path to process. This can be a relative path (e.g., `.` for the current directory) or an absolute path (e.g., `/home/user/project_1`).
|
|
|
|
### Optional Arguments
|
|
|
|
- `--ignore IGNORE` or `-i IGNORE`: Specifies files or directories to ignore. This option can be used multiple times to ignore several elements.
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
code_to_prompt --path ~/Documents/hello-world --ignore README.md
|
|
```
|