Spiking code for a command handling endpoint