code: def new(args: "Namespace"):
      """
      Create a new jina project
      :param args:  arguments coming from the CLI.
      """
      import os
      import shutil
  
      from jina.constants import __resources_path__
  
      if args.type == "deployment":
          shutil.copytree(
              os.path.join(
                  __resources_path__, "project-template", "deployment"
              ),
              os.path.abspath(args.name),
          )
      else:
          shutil.copytree(
              os.path.join(
                  __resources_path__, "project-template", "flow"
              ),
              os.path.abspath(args.name),
          )
  
file_path: jina/jina_cli/api.py
imports: from typing import TYPE_CHECKING
  from jina.parsers.helper import _update_gateway_args
label_desc: Use image node_id 12 for calling a global function with example usage: new(args) without return types