code: function getMatchingCommands(context, prefix) {
    var commands = cli.getMapping(context).requisition.system.commands;
    var reply = commands.getAll().filter(function(command) {
      if (command.hidden) {
        return false;
      }
  
      if (prefix && command.name.indexOf(prefix) !== 0) {
        // Filtered out because they don't match the search
        return false;
      }
      if (!prefix && command.name.indexOf(' ') != -1) {
        // We don't show sub commands with plain 'help'
        return false;
      }
      return true;
    });
  
    reply.sort(function(c1, c2) {
      return c1.name.localeCompare(c2.name);
    });
  
    reply = reply.map(function(command) {
      return command.toJson();
    });
  
    return reply;
  }
docs: Create a block of data suitable to be passed to the help_list.html template