code: def get_command_templates(command_tokens, file_tokens=[], path_tokens=[],
      job_options=[]):
      
      files = get_files(file_tokens)
      paths = get_paths(path_tokens)
      job_options = get_options(job_options)
  
      templates = _get_command_templates(command_tokens, files, paths,
          job_options)
  
      for command_template in templates:
          command_template._dependencies = _get_prelim_dependencies(
              command_template, templates)
      return templates
docs: Given a list of tokens from the grammar, return a
      list of commands.