<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># All out functions below look like Fn(context, command, *args)
# where context is the Max context,
# command is a string representing the command that triggered this call,
# and *args are the remaining unparsed args.

startup = Run(
  Output('tranzport', 'program', 'init'),
  SetCommandMap(Map(tranzport=Map(dflt='armed')))
)

armed = Run(
  Output('tranzport', 'program', 'armed'),
  SetCommandMap(Map(tranzport=Map(record_arm='done')))
)

done = Run(
  Output('tranzport', 'program', 'done'),
  SetCommandMap(Map())
)
</pre></body></html>