Files
wehub-resource-sync e30e75b5d4
Code Quality / Oxlint + Oxfmt (push) Waiting to run
Code Quality / Template Sync (push) Waiting to run
Code Quality / Build Changed Packages (push) Waiting to run
Code Quality / Test Changed Packages (push) Waiting to run
Deploy Expo Example / Deploy Production (push) Waiting to run
Deploy Ink Example / Deploy Production (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.12) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.12) (push) Waiting to run
Deploy Shadcn Registry / Deploy Production (push) Waiting to run
Template Metrics / LOC + Bundle Size (push) Waiting to run
Changesets / Create Version PR (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:40:13 +08:00

74 lines
2.3 KiB
TypeScript

type CliSurfaceSnapshot = Record<string, unknown>;
export const cliSurface: CliSurfaceSnapshot = {
"name": "create-assistant-ui",
"description": "create assistant-ui apps with one command",
"forwardsTo": "assistant-ui create",
"arguments": [
{
"syntax": "[project-directory]",
"description": "",
"required": false
}
],
"options": [
{
"flags": "-t, --template <template>",
"description": "template to use (default, minimal, cloud, cloud-clerk, langchain, mcp, eve)",
"required": true
},
{
"flags": "-e, --example <example>",
"description": "create from an example (with-ag-ui, with-google-adk, with-ai-sdk-v7, with-eve, with-artifacts, with-assistant-transport, with-chain-of-thought, with-cloud, with-custom-thread-list, with-elevenlabs-conversational, with-elevenlabs-scribe, with-livekit, with-expo, with-interactables, with-external-store, with-ffmpeg, with-langgraph, with-react-hook-form, with-react-ink, with-react-router, with-tanstack, with-resumable-stream)",
"required": true
},
{
"flags": "-p, --preset <name-or-url>",
"description": "preset name or URL (e.g., chatgpt or https://www.assistant-ui.com/playground/init?preset=chatgpt)",
"required": true
},
{
"flags": "--use-npm",
"description": "explicitly use npm"
},
{
"flags": "--use-pnpm",
"description": "explicitly use pnpm"
},
{
"flags": "--use-yarn",
"description": "explicitly use yarn"
},
{
"flags": "--use-bun",
"description": "explicitly use bun"
},
{
"flags": "--native",
"description": "create an Expo / React Native project"
},
{
"flags": "--ink",
"description": "create a React Ink terminal project"
},
{
"flags": "--skip-install",
"description": "skip installing packages"
},
{
"flags": "--skills",
"description": "add assistant-ui agent skills for AI coding assistants"
},
{
"flags": "--no-skills",
"description": "skip adding assistant-ui agent skills"
},
{
"flags": "--debug-source-root <path>",
"description": "copy templates/examples from a local assistant-ui repo root",
"required": true,
"hidden": true
}
]
};