Procession supports showing and hiding steps based on user selections, with --select, --option, and --if statements.
For example, if you are writing a programming checklist, you might have a different command to run if the user is on a Mac vs a PC.
Here's an example:
# How to plant tomatoes
--select location Where will you plant?
--option indoors Inside
--option outdoors Outside
## Gather the materials
...
## Ensure there is sufficient light
--if location=indoors
...
## Protect from animals
--if location=outdoors
...
For select/option, the first part is the "ID" of the value, and then everything after is the label.
The --if format supports id=value or id!=value.
If the condition matches, the step will be visible, otherwise it won't be shown. Convenient!