nb_cli.handlers.project
def list_project_templates()
่ฟๅ
- list[str]
def create_project(project_template, context=None, output_dir=None, no_input=True)
ๅๆฐ
project_template
(str)context
(dict[str, Any] | None)output_dir
(str | None)no_input
(bool)
่ฟๅ
- None
async def generate_run_script(adapters=None, builtin_plugins=None)
ๅๆฐ
adapters
(list[SimpleInfo] | None)builtin_plugins
(list[str] | None)
่ฟๅ
- str
async def run_project(adapters=None, builtin_plugins=None, exist_bot=PosixPath('bot.py'), python_path=None, cwd=None, stdin=None, stdout=None, stderr=None)
ๅๆฐ
adapters
(list[SimpleInfo] | None)builtin_plugins
(list[str] | None)exist_bot
(pathlib.Path)python_path
(str | None)cwd
(pathlib.Path | None)stdin
(IO[Any] | int | NoneType)stdout
(IO[Any] | int | NoneType)stderr
(IO[Any] | int | NoneType)
่ฟๅ
- asyncio.subprocess.Process
async def terminate_project(process)
ๅๆฐ
process
(asyncio.subprocess.Process)
่ฟๅ
- None