title: Passing in arguments to gulp tasks
body: <p>I have a task to run jshint:</p>
  
  <pre><code>gulp.task('lint-scripts', function () {
      var jshint = buildTools.jshint,
          filesToLint = ...
  
      return gulp
          .src(filesToLint)
          .pipe(jshint('jshint.json'))
          .pipe(jshint.reporter('jshint-stylish'))
          //.pipe(jshint.reporter('fail'))
      ;
  });
  </code></pre>
  
  <p>This is how it should perform during development.</p>
  
  <p>I also need a "release" version of this same task, where this line isn't commented out:</p>
  
  <pre><code>//.pipe(jshint.reporter('fail'))
  </code></pre>
  
  <p>What's the best way to do this? I don't want to create to duplicate tasks with one line of code difference. Is there a way I can pass in a variable to the task <code>lint-scripts</code> and the <code>fail</code> reporter will optionally be used?</p>