code: def get_batch_command(command_list, project=None, purpose=None):
      
      command_str = ' '.join(command_list)
      ret = ['python', '-m', 'indra.util.aws', 'run_in_batch', command_str]
      if not project and has_config('DEFAULT_AWS_PROJECT'):
          project = get_config('DEFAULT_AWS_PROJECT')
      if project:
          ret += ['--project', project]
      if purpose:
          ret += ['--purpose', purpose]
      return ret
docs: Get the command appropriate for running something on batch.