onToggle

open fun onToggle(cmd: Cmd)

Schedule a command when just toggled

Parameters

cmd

command to schedule