What problem does it solve?
Working in a Vendure project requires many lifecycle commands — dev servers, production builds, database migrations, plugin scaffolding, schema generation — and guessing flags or package-manager runners leads to errors, blocked interactive prompts, and broken builds.
Core Features & Use Cases
- Full lifecycle commands: Run
dev, build, start, add, migrate, schema, doctor, and codemod with correct targets and flags.
- Package-manager aware execution: Detects bun, pnpm, yarn, or npm from the lockfile and prefixes the CLI with the right runner instead of hardcoding
npx.
- Non-interactive agent operation: Supplies explicit flags for prompt-capable commands and sets
VENDURE_CLI_NON_INTERACTIVE=true so calls fail fast instead of hanging on prompts.
- Use Case: Add a new
ReviewsPlugin with a translatable entity, entity-backed service, and API extension, then generate and run the database migration — all with correct non-interactive flags.
Quick Start
Ask the assistant to scaffold a new Vendure plugin named ReviewsPlugin and generate the matching database migration using the Vendure CLI.