I’d you want to add commands or modes, there are two “dummy” examples in the code.
If you just want to repeat repetitive tasks, there’s some working going on here: