Clarify readme with command docstrings.
This commit is contained in:
parent
b0703e7cf8
commit
3730283621
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -27,9 +27,21 @@ Commands:
|
||||||
update:
|
update:
|
||||||
Download chunks into the database.
|
Download chunks into the database.
|
||||||
|
|
||||||
|
> pixelcanvas.py update ~100.~100--100.100
|
||||||
|
|
||||||
render:
|
render:
|
||||||
Export an image as PNG.
|
Export an image as PNG.
|
||||||
|
|
||||||
|
> pixelcanvas.py render 0.0--100.100 <flags>
|
||||||
|
|
||||||
|
flags:
|
||||||
|
--show:
|
||||||
|
Instead of saving the image, display it on the screen.
|
||||||
|
https://pillow.readthedocs.io/en/stable/reference/Image.html#PIL.Image.Image.show
|
||||||
|
|
||||||
|
--update:
|
||||||
|
Update the chunks before exporting them.
|
||||||
|
|
||||||
So, for example:
|
So, for example:
|
||||||
|
|
||||||
> pixelcanvas.py update 0.0--100.100
|
> pixelcanvas.py update 0.0--100.100
|
||||||
|
|
Loading…
Reference in a new issue