code: def init(
      base_dir: PathLike,
      *,
      interactive: bool = False,
      bokehjs_version: str | None = None,
      debug: bool = False,
  ) -> bool:
      """Initialize a directory as a new bokeh extension.
  
      Arguments:
          base_dir (str) : The location of the extension.
  
          interactive (bool) : Guide the user step-by-step.
  
          bokehjs_version (str) : Use a specific version of bokehjs.
  
          debug (bool) : Allow for remote debugging.
  
      Returns:
          bool
  
      """
      args: list[str] = []
      if interactive:
          args.append("--interactive")
      if bokehjs_version:
          args.extend(["--bokehjs-version", bokehjs_version])
      proc = _run_command("init", base_dir, args, debug)
      return proc.returncode == 0
  
file_path: bokeh/src/bokeh/ext.py
imports: from __future__ import annotations
  import logging
  from os import fspath
  from subprocess import Popen
  from .None import __version__
  from .core.types import PathLike
  from .settings import settings
  from .util.compiler import _nodejs_path
label_desc: Use image node_id 1 for calling a global function with example usage: init(base_dir) and returns: unknown