@ticket-assistant/cli
v1.0.0
Published
Scaffold and initialize AI-powered support ticket assistant
Downloads
42
Maintainers
Readme
@ticket-assistant/cli (Ticket Assistant CLI)
Interactive CLI to scaffold or integrate Ticket Assistant into your application in seconds.
🚀 Quick Usage
1. Initialize inside an Existing Project (init mode)
Add Ticket Assistant customer support to your existing Next.js, Express, or Node.js codebase:
cd my-existing-project
npx @ticket-assistant/cli initThe CLI will:
- Detect your framework (Next.js App Router vs Express server).
- Ask you to select your database (Supabase or MongoDB).
- Ask you to select your AI engine (Groq or OpenAI).
- Install
@ticket-assistant/coreinto your project. - Create a
ticket.config.jswith your configuration. - Provide starter route handlers tailored to your framework.
2. Create a Brand New Project (Scaffold mode)
Scaffold a complete, standalone support backend from scratch:
npx @ticket-assistant/cli my-support-appOr pass flags to skip interactive prompts:
npx @ticket-assistant/cli my-support-app --template=express --storage=supabase --ai=groq🛠️ CLI Flags & Options
| Flag | Description | Values |
| :--- | :--- | :--- |
| init | Run in existing project mode | N/A |
| --template | Choose server framework | express, nextjs |
| --storage | Choose database engine | supabase, mongo |
| --ai | Choose AI completions provider | groq, openai |
| --yes, -y | Accept defaults non-interactively | N/A |
📄 License
ISC License © 2026 Ticket Assistant Contributors.
