code: function registerTask(file, options) {
    const task = require(file.path);
    const taskName = path.basename(file.path, file.ext);
    const taskObject = parseTaskObject(task, options);
  
    // Register this task with Gulp.
    gulp.task.call(gulp, taskName, taskObject);
  
    debug(`registered "${taskName}" task`);
  }
docs: Registers a Gulp task given a file and a set of options.
  
  @param {Object} file
  @param {Object} options