launch-quickly

CLI reference

Every command and flag, generated from the definitions themselves — so a flag cannot exist without appearing here.

Generated from packages/cli's own command definitions by pnpm --filter @launchquickly/web docs:cli. A test fails if regenerating would change it, so a new flag cannot ship undocumented.

lq is vendored into every project, so run it with npx lq — the version that answers is the one your project was scaffolded or last upgraded with, not a global install. That matters more than it sounds: see ADR-0006.

There is one validation verb on purpose. If you are looking for lq lint or lq test, the answer is lq check, and ADR-0008 explains why.

lq check

Verify the project against its own conventions. The only validation verb.

flagwhat it does
--changedScope to files that differ from HEAD, for use inside an edit loop

lq docs

Checks that the documentation tells the truth.

lq docs check

Every command in a fenced example must exist with those flags; every inline-code path must exist in the project.

flagwhat it does
--docsDirectory of markdown/MDX pages to check.
--projectProject root the paths are claims about. Defaults to the nearest project root.
--assetsWhere site-absolute image paths resolve. Defaults to ./public.

lq doctor

Report on the manifest: template version, generated files, drift.

flagwhat it does
--ciExit non-zero on errors (drift and warnings still do not fail)

lq generate

Scaffold code that follows the conventions.

lq generate feature

Generate a vertical slice: schema, queries, actions, tests and RLS policy.

flagwhat it does
<name>Singular feature name, e.g. invoice
--fieldse.g. "title:string, notes:text?, status:enum(draft,sent)" — types: string, text, int, bool, date, enum, uuid, email, money, ref; suffix ? for optional; money is minor units; ref(plural) is a foreign key to another feature
--pluralOverride the pluralisation
--dry-runPrint what would be written

lq manifest

Inspect and maintain .lq/manifest.json.

lq manifest prune

Drop manifest entries whose files no longer exist.

flagwhat it does
--dry-runList what would be dropped and write nothing.

lq manifest sync

Record the current hash of every @lq-managed file. Maintainers only.

flagwhat it does
--checkReport what would change and exit non-zero. Does not write.

lq theme

List, switch and import theme presets.

lq theme import

Add a preset from a shadcnstudio/tweakcn CSS export (file or stdin).

flagwhat it does
<name>Name for the new preset (required)
--fromPath to the exported CSS. Reads stdin when omitted.

lq theme list

Show the presets this project has.

lq theme set

Switch the app to a preset (or default for none).

flagwhat it does
<name>Preset name (required)

lq upgrade

Move this project onto a newer template release.

flagwhat it does
--templatePath to an unpacked copy of the release to upgrade to.
--channelFetch the release instead: "stable" or "dev". Needs a license key.
--keyLicense key for --channel. Falls back to the LQ_LICENSE_KEY environment variable.
--api-baseOverride the license server for --channel (self-hosting).
--dry-runShow what would change and write nothing.
--diffPrint a diff for every file left for you to merge.

On this page