Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-code authored May 2, 2024
1 parent 6127078 commit 6f01f65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ echo 'xontrib load pipeliner' >> ~/.xonshrc
## Usage
Let your pipe lines flow thru the Python code:
```bash
<cmd> | ... | pl "<lambda expression>" | <cmd> | ...
pl # to get the list of presets

<cmd> | ... | pl "<preset name or lambda expression>" | <cmd> | ...
```
There are two variables available in lambda expression:
* `line` from pipe.
Expand Down

0 comments on commit 6f01f65

Please sign in to comment.