code: function buildDbMigrateArgs(grunt, config, command) {
    var args = [];
    var name = grunt.option('name');
  
    args.push(command);
  
    if (command === 'create') {
      if (!name) {
        throw new Error('--name required to create migration');
      }
      args.push(name);
    }
  
    if (grunt.option('count') !== undefined) {
      args.push('--count');
      args.push(grunt.option('count'));
    }
  
    if (grunt.option('dry-run')) {
      args.push('--dry-run');
    }
  
    if (grunt.option('db-verbose')) {
      args.push('--verbose');
    }
  
    if (grunt.option('sql-file')) {
      args.push('--sql-file');
    }
  
    if (grunt.option('coffee-file')) {
      args.push('--coffee-file');
    } else if (config.coffeeFile) {
      args.push('--coffee-file');
    }
  
    if (grunt.option('migrations-dir')) {
      args.push('--migrations-dir');
      args.push(grunt.option('migrations-dir'));
    } else if (config.migrationsDir) {
      args.push('--migrations-dir');
      args.push(config.migrationsDir);
    }
  
    if (grunt.option('table')) {
      args.push('--table');
      args.push(grunt.option('table'));
    } else if (config.table) {
      args.push('--table');
      args.push(config.table);
    }
  
    return args;
  }
docs: Builds the command line arguments to pass to db-migrate.
  
  @param grunt Grunt object.
  @param command The db-migrate command to run.
  @returns Arguments array for the db-migrate command.