onoffcommand

noun
UK /ˈɒnɒfkəˌmɑːnd/
US /ˈɑːnɔːfkəˌmænd/

A command that turns something on or off.

Press the onoffcommand to start the machine.


OTHER MEANINGS

2. A simple instruction in a program that flips a setting between two states.

The script uses an onoffcommand to change the light mode.

3. A signal that tells a device to begin or stop working.

The remote sent an onoffcommand to the fan.

4. A word or phrase used to activate or deactivate a feature.

Say the onoffcommand to turn off the alarm.