Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ include-package-data = true

[tool.ruff]
exclude = [
"veadk/integrations/ve_faas/template/*"
"veadk/integrations/ve_faas/template/*",
"veadk/integrations/ve_faas/web_template/*"
]
10 changes: 7 additions & 3 deletions veadk/cli/cli_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from typing import Any

import click

from veadk.version import VERSION

warnings.filterwarnings(
Expand Down Expand Up @@ -70,7 +71,10 @@ def _render_prompts() -> dict[str, Any]:
def init(
vefaas_template_type: str,
) -> None:
"""Init a veadk project that can be deployed to Volcengine VeFaaS."""
"""Init a veadk project that can be deployed to Volcengine VeFaaS.

`template` is A2A/MCP/Web server template, `web_template` is for web applications (i.e., a simple blog).
"""
import shutil
from pathlib import Path

Expand Down Expand Up @@ -103,8 +107,8 @@ def init(

if not vefaas_template_type:
vefaas_template_type = "template"
template_dir_path = Path(vefaas.__file__).parent / vefaas_template_type

template_dir_path = Path(vefaas.__file__).parent / vefaas_template_type

cookiecutter(
template=str(template_dir_path),
Expand Down