Your Remote Control: The Parslet CLI
The parslet
command is your remote control for running your recipes. It’s how you tell Parslet what to do. You use it right from your terminal.
The main command is simple:
parslet run <your_recipe.py>
This tells Parslet to find your recipe, build the flowchart, and run all the steps. But the remote control has a bunch of other cool buttons (we call them options or flags) that you can use!
An Example
Let’s run our photo filter recipe and also ask for a picture of the flowchart.
parslet run examples/image_filter.py --export-png dag.png
Want to see all the buttons? Just type parslet run --help
into your terminal.