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: Created July 6, 2018, 11:39 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..2ffcb724ecc5b14cda60b4089cb4e82e195ad1b9 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 returned to `stdout`. Moreover, when
Vasily Kuznetsov 2018/07/09 17:00:57 "returned" feels a bit weird here. What do you thi
Tudor Avram 2018/07/10 16:09:47 Done.
+being run with no positional arguments:
Vasily Kuznetsov 2018/07/09 17:00:57 Perhaps eliminate the passive here to make it easi
Tudor Avram 2018/07/10 16:09:47 Done.
+
+ $flrender
+
+it will read from `stdin` and output 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