Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: README.md

Issue 29824555: Issue #4116: Make infile and outfile parameters of flrender script from python-abp optional (Closed)
Patch Set: Addressed comments from patch #2 Created July 16, 2018, 9:14 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: README.md
diff --git a/README.md b/README.md
index 8e91830ad032afc65ee70797aa5be5ea6a38c955..e077d07562deeb678d0d43c2d48b67c428691b0d 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,17 @@ Python-abp contains a script that can do this called `flrender`:
This will take the top level fragment in `fragment.txt`, render it and save into
`filterlist.txt`.
+The `flrender` script can also be used by only specifying `fragment.txt`:
+
+ $flrender fragment.txt
+
+in which case the rendering result will be sent to `stdout`. Moreover, when
+it's run with no positional arguments:
+
+ $flrender
+
+it will read from `stdin` and send the results to `stdout`.
+
Fragments might reference other fragments that should be included into them.
The references come in two forms: http(s) includes and local includes:
« no previous file with comments | « .gitignore ('k') | abp/filters/render_script.py » ('j') | tests/test_render_script.py » ('J')

Powered by Google App Engine
This is Rietveld