项目文件夹

文件
wehub-resource-sync bf9395e022
CI / license-header (push) Has been skipped
CI / e2e-dry-run (push) Has been skipped
CI / fast-gate (push) Failing after 0s
Test PR Label Logic / test-pr-labels (push) Failing after 1s
Skill Format Check / check-format (push) Failing after 2s
CI / security (push) Failing after 5s
CI / unit-test (push) Has been skipped
CI / lint (push) Has been skipped
CI / script-test (push) Has been skipped
CI / deterministic-gate (push) Has been skipped
CI / coverage (push) Has been skipped
CI / results (push) Has been cancelled
CI / deadcode (push) Has been cancelled
CI / e2e-live (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:22:54 +08:00

1.7 KiB

apps +create

创建妙搭应用。运行时命令事实以 lark-cli apps +create --help 为准。

何时用

用来创建应用资产并拿到 app_id。它不负责把自然语言需求交给云端 Agent:用户要“帮我生成/迭代应用”时,先创建 full_stack app,再进入 lark-apps-cloud-dev.md+session-create / +chat 提交需求。

命令骨架

  • 必填:--name--app-type
  • app type 语义取值为 html / full_stack;CLI 会把输入归一成小写后校验。
  • 可选:--description--icon-url

示例

lark-cli apps +create --name "客户调研问卷" --app-type html

lark-cli apps +create --name "审批系统" --app-type full_stack \
  --description "部门审批系统,支持登录、提交申请、多级审批"

lark-cli apps +create --name "Demo" --app-type html --dry-run

输出契约

  • 成功默认 JSON envelope 中读取 data.app.app_id,同时可用 data.app.name / description 向用户确认结果。
  • pretty 输出只适合人看;后续命令需要 app_id 时,用 JSON 或 --jq '.data.app.app_id'

app type 与命名

  • --app-type 取值与判定信号见 SKILL.md「选择开发路径」,此处不重复。
  • 用户只给自然语言需求时,据此生成简洁的 --name 和一句 --description 直接创建;不满意再用 +update 改。

创建后按用户路径继续: