code_to_prompt/README.md

19 lines
469 B
Markdown

## Install
First, make sure `~/bin` exists and is in your PATH
```bash
mkdir -p ~/bin
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc if you use zsh
source ~/.bashrc # or source ~/.zshrc
```
Create a symlink to the wrapper script
```bash
ln -s /full/path/to/your/project/code_to_prompt.sh ~/bin/code_to_prompt
```
Now you can run your script from anywhere by simply typing:
```bash
code_to_prompt --path /path/to/process --ignore custom_folder
```