code: function commandFactory(combos, cmd)
  {
    var command;
  
    // if no combos provided
    // consider it as a single command run
    if (!cmd)
    {
      cmd = combos;
      combos = [{}];
    }
  
    command = partial(iterate, combos, cmd);
    command.commandDescription = partial(commandDescription, cmd);
    return command;
  }
docs: Creates command executor from state property
  
  @param   {array|string} [combos] – list of combinations
  @param   {string} cmd - state property to get command from
  @returns {function} function that executes the command