code: def _ask_create_path(path: Text) -> None:
      import questionary
  
      should_create = questionary.confirm(
          f"Path '{path}' does not exist 🧐. Create path?"
      ).ask()
  
      if should_create:
          try:
              os.makedirs(path)
          except (PermissionError, OSError, FileExistsError) as e:
              print_error_and_exit(
                  f"Failed to create project path at '{path}'. "
                  f"Error: {e}"
              )
      else:
          print_success(
              "Ok, will exit for now. You can continue setting up by "
              "running 'rasa init' again 🙋🏽‍♀️"
          )
          sys.exit(0)
  
file_path: rasa/rasa/cli/scaffold.py
imports: import argparse
  import os
  import sys
  from typing import List, Text
  from rasa import telemetry
  from rasa.cli import SubParsersAction
  from rasa.cli.shell import shell
  from rasa.shared.utils.cli import print_success, print_error_and_exit
  from rasa.shared.constants import DOCS_BASE_URL, DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_DATA_PATH, DEFAULT_MODELS_PATH
label_desc: Use image node_id 8 for calling a global function with example usage: _ask_create_path(path) without return types