code: def init_fill_config_cli(
      # fmt: off
      base_path: Path = Arg(..., help="Path to base config to fill", exists=True, dir_okay=False),
      output_file: Path = Arg("-", help="Path to output .cfg file (or - for stdout)", allow_dash=True),
      pretraining: bool = Opt(False, "--pretraining", "-pt", help="Include config for pretraining (with 'spacy pretrain')"),
      diff: bool = Opt(False, "--diff", "-D", help="Print a visual diff highlighting the changes"),
      code_path: Optional[Path] = Opt(None, "--code-path", "--code", "-c", help="Path to Python file with additional code (registered functions) to be imported"),
      # fmt: on
  ):
      """
      Fill partial config file with default values. Will add all missing settings
      from the default config and will create all objects, check the registered
      functions for their default values and update the base config. This command
      can be used with a config generated via the training quickstart widget:
      https://spacy.io/usage/training#quickstart
  
      DOCS: https://spacy.io/api/cli#init-fill-config
      """
      import_code(code_path)
      fill_config(
          output_file, base_path, pretraining=pretraining, diff=diff
      )
  
imports: import re
  from enum import Enum
  from pathlib import Path
  from typing import List, Optional, Tuple
  import srsly
  from jinja2 import Template
  from thinc.api import Config
  from wasabi import Printer, diff_strings
  from ..None import util
  from ..language import DEFAULT_CONFIG_PRETRAIN_PATH
  from ..schemas import RecommendationSchema
  from ..util import SimpleFrozenList
  from ._util import COMMAND, Arg, Opt, import_code, init_cli, show_validation_error, string_to_list
label_desc: Use image node_id 2 for calling a global function with example usage: init_fill_config_cli(base_path, output_file, pretraining, diff, code_path) without return types