code: function (pluginName, targetName, targetData) {
          if (arguments.length < 2) {
            throw (new Error('expected at least 2 arguments'));
          }
  
          if (arguments.length === 2) {
            targetData = targetName;
            targetName = lib.getNameUID(prefix, data.id);
          }
  
          gtx.configFor(pluginName, targetName, targetData);
  
          lib.pushUnique(data.plugins, pluginName);
          lib.pushHash(plugins, pluginName, data);
  
          lib.pushUnique(tasks, pluginName + ':' + targetName);
        }
docs: helper closures for easy access TODO find a way to move these to own file/place