mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
changed readme
This commit is contained in:
parent
31ab369e2f
commit
138c779f5e
12
README.md
12
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!
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user