title: Can I pass arguments to a gulp task?
body: <p>I'm using gulp in Visual Studio, as a client-side build tool <em>only</em>.</p>
  
  <p>I have lots of tasks which are common across various projects, so I moved them to separate files, and reference them in a project's <code>gulpfile.js</code> as follows:</p>
  
  <pre><code>require("../path/to/task/files/fooCommon.js");  // has a task called "fooCommon"
  </code></pre>
  
  <p>And then in the <code>gulpfile.js</code> I wrap it in a task:</p>
  
  <pre><code>gulp.task("foo", ["fooCommon"], function () { });
  </code></pre>
  
  <p>This works nicely, and I can reuse common tasks across projects.</p>
  
  <p>BUT, some tasks require configurations which are only accessible in <code>gulpfile.js</code> - <em>how can I pass them as arguments to a task?</em></p>