[add] Init
This commit is contained in:
18
README.md
Normal file
18
README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
## 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
|
||||
```
|
||||
Reference in New Issue
Block a user