Similar to the ELM architecture in a way? Except that the commands are literal commands that can be executed outside of the standard UI interaction.