From 138c779f5ea58629c1e5915df08e8a4d3dde82ee Mon Sep 17 00:00:00 2001 From: Jonathan Dunn Date: Wed, 21 Feb 2024 08:39:31 -0500 Subject: [PATCH] changed readme --- README.md | 12 +++++++++--- installer/client/cli/utils.py | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 77103c3..42c0a84 100644 --- a/README.md +++ b/README.md @@ -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! diff --git a/installer/client/cli/utils.py b/installer/client/cli/utils.py index d0ee25e..65c21eb 100644 --- a/installer/client/cli/utils.py +++ b/installer/client/cli/utils.py @@ -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):