def do_init(self, project: Project, options: argparse.Namespace) -> None:
        """Bootstrap the project and create a pyproject.toml"""
        hooks = HookManager(project, options.skip)
        if options.generator == "copier":
            self._init_copier(project, options)
        elif options.generator == "cookiecutter":
            self._init_cookiecutter(project, options)
        else:
            self.set_python(project, options.python, hooks)
            self._init_builtin(project, options)

        if options.init_git:
            self.initialize_git(project)

        hooks.try_emit("post_init")
Bootstrap the project and create a pyproject.toml
src/pdm/cli/commands/init.py