title: Pass parameters into a file being called in a Grunt task?
body: <p>I am using the command line to call the <code>grunt</code> command. I hard coded information to be run when this is executed and it works successfully. I am trying to use alias tasks to pass in numbers at the command line instead of hard coding. (The alias task isn't working yet, but that is not the main issue). In a task I execute another file via <code>src: path</code>. I want to pass the numbers from the command line into this program as well. Is that possible? How could I go about doing that?
  The alias code I am working with I pulled from another question
  <a href="https://stackoverflow.com/questions/16239254/pass-params-to-an-grunt-task-from-an-alias-task">Pass params to an grunt task from an alias task</a>:</p>
  
  <pre><code>grunt.registerTask('taskA', function(target) {
    var tasks = ['taskB', 'taskC'];
    if (target == null) {
      grunt.warn('taskA target must be specified, like taskA:001.');
    }
    grunt.task.run.apply(grunt.task, tasks.map(function(task) {
      return task + ':' + target;
    }));
  });
  </code></pre>
  
  <p>The task that contains the code for the file that I am trying to pass parameter into looks like: </p>
  
  <pre><code>taskname: {
          //other code
          src: 'path.js'
        }
  </code></pre>
  
  <p>Can I pass data into the code that is at path.js</p>
  
  <p>Edit: I am using Grunt in conjunction with Casper.js</p>