changed readme

This commit is contained in:
Jonathan Dunn 2024-02-21 08:39:31 -05:00
parent 31ab369e2f
commit 138c779f5e
2 changed files with 10 additions and 3 deletions

View File

@ -161,8 +161,9 @@ curl -sSL https://install.python-poetry.org | python3 -
```
6. Run the `setup.sh`, which will do the following:
- Installs python dependencies.
- Creates aliases in your OS. It should update `~/.bashrc`, `/.zshrc`, and `~/.bash_profile` if they are present in your file system.
- Installs python dependencies.
- Creates aliases in your OS. It should update `~/.bashrc`, `/.zshrc`, and `~/.bash_profile` if they are present in your file system.
```bash
./setup.sh
@ -188,7 +189,6 @@ fabric --help
> [!NOTE]
> If you're using the `server` functions, `fabric-api` and `fabric-webui` need to be run in distinct terminal windows.
### Using the `fabric` client
Once you have it all set up, here's how to use it.
@ -234,6 +234,12 @@ pbpaste | fabric --pattern summarize
pbpaste | fabric --stream --pattern analyze_claims
```
3. **new** All of the patterns have been added as aliases to your bash (or zsh) config file
```bash
pbpaste | analyze_claims --stream
```
> [!NOTE]
> More examples coming in the next few days, including a demo video!

View File

@ -223,6 +223,7 @@ class Update:
self.pattern_directory = os.path.join(
self.config_directory, "patterns")
os.makedirs(self.pattern_directory, exist_ok=True)
print("Updating patterns...")
self.update_patterns() # Start the update process immediately
def update_patterns(self):