Method code for $remote_cache<$command_cache>.add_to_cache()

[Turn off line numbering]
  1: arg command, definer;
  2: var part, cmd;
  3: 
  4: if (type(commands) != 'dictionary)
  5:     commands = #[];
  6: cmd = command.word(1);
  7: for part in (cmd.explode_template_word())
  8:     commands = commands.setadd_elem(part, [cmd, definer]);

// Created 18-Sep-1997 as a part of ColdCore, see: @help Credit

Tlon