{"id":"@lssm-tech/app.cli-databases","slug":"app.cli-databases","name":"@lssm-tech/app.cli-databases","version":"5.0.4","path":"packages/apps/cli-databases","manifestPath":"packages/apps/cli-databases/package.json","manifestBlobSha":"7fc9004d167693365b024a3ebf1aefa2a3143aaa","layer":"apps","physicalArea":null,"primaryArea":"tooling-and-agent-delivery","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"app","catalogStatus":"active","adoptionMode":"operator-only","stability":"stable"},"description":"Multi-database command-line workflows for ContractSpec workspaces.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"app","status":"active","adoptionMode":"operator-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./blueprint","./cli","./profile","./*"],"documentation":[{"title":"App Cli Databases documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fapp.cli-databases","kind":"readme"}],"examples":[],"replacements":[],"nonAdoptableRationale":"This app is published for execution by operators, not as a reusable library dependency."},"canonicalImports":[],"scripts":{"clean":"rm -rf dist","publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","build":"bun ../../../scripts/tsdown.mjs","dev":"bun run build --watch","lint":"bun run lint:fix","lint:fix":"node ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .","lint:check":"node ../../../scripts/biome.cjs check .","test":"bun test"},"scriptStatus":"complete pinned manifest","dependencies":{"minimist":"^1.2.8","execa":"^10.0.1","@lssm-tech/lib.contracts-spec":"workspace:^"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","@lssm-tech/tool.tsdown":"workspace:*","tsdown":"catalog:build"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./dist/index.mjs","./blueprint":"./dist/blueprint.mjs","./cli":"./dist/cli.mjs","./profile":"./dist/profile.mjs","./*":"./*"},"publishExports":{".":"./dist/index.mjs","./cli":"./dist/cli.mjs","./*":"./*"},"types":"./dist/index.d.mts","files":["dist","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/app.cli-databases","target":"./dist/index.mjs","targets":[{"conditions":[],"target":"./dist/index.mjs","sourcePath":null,"sourceUrl":null,"sourceStatus":"declared target; source not verified"}]},{"subpath":"./blueprint","importPath":"@lssm-tech/app.cli-databases/blueprint","target":"./dist/blueprint.mjs","targets":[{"conditions":[],"target":"./dist/blueprint.mjs","sourcePath":null,"sourceUrl":null,"sourceStatus":"declared target; source not verified"}]},{"subpath":"./cli","importPath":"@lssm-tech/app.cli-databases/cli","target":"./dist/cli.mjs","targets":[{"conditions":[],"target":"./dist/cli.mjs","sourcePath":null,"sourceUrl":null,"sourceStatus":"declared target; source not verified"}]},{"subpath":"./profile","importPath":"@lssm-tech/app.cli-databases/profile","target":"./dist/profile.mjs","targets":[{"conditions":[],"target":"./dist/profile.mjs","sourcePath":null,"sourceUrl":null,"sourceStatus":"declared target; source not verified"}]},{"subpath":"./*","importPath":"@lssm-tech/app.cli-databases/*","target":"./*","targets":[{"conditions":[],"target":"./*","sourcePath":null,"sourceUrl":null,"sourceStatus":"declared target; source not verified"}]}],"entryCount":5,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"App Cli Databases documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fapp.cli-databases","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/cli-databases","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/cli-databases/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/cli-databases/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/app.cli-databases.txt"},"readme":{"status":"available","body":"# @lssm-tech/app.cli-databases\n\nWebsite: https://contractspec.io\n\n**CLI orchestrator for multi-database workflows. Coordinates operations across multiple database profiles defined in a project.**\n\n## What It Does\n\n- Lightweight CLI with no workspace bundle dependencies.\n- Uses minimist for argument parsing, execa for subprocess execution.\n- Delegates per-database work to `cli-database`.\n- Related ContractSpec packages include `@lssm-tech/tool.tsdown`, `@lssm-tech/tool.typescript`.\n\n## Running Locally\n\nFrom `packages/apps/cli-databases`:\n- `bun run dev`\n- `bun run build`\n\n## Usage\n\n```bash\nnpx databases --help\n# or\nbunx databases --help\n```\n\n## Architecture\n\n- Lightweight CLI with no workspace bundle dependencies.\n- Uses minimist for argument parsing, execa for subprocess execution.\n- Delegates per-database work to `cli-database`.\n- `src/cli.ts` is the CLI entrypoint.\n- `src/index.ts` is the root public barrel and package entrypoint.\n\n## Public Entry Points\n\n- Binary `databases` points to `dist/cli.js`.\n- Export `.` resolves through `./dist/index.mjs`.\n- Export `./cli` resolves through `./dist/cli.mjs`.\n- Export `./profile` resolves through `./dist/profile.mjs`.\n- Export `./*` resolves through `./*`.\n\n## Local Commands\n\n- `bun run dev` — bun run build --watch\n- `bun run build` — tsdown\n- `bun run lint` — bun run lint:fix\n- `bun run lint:check` — biome check .\n- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .\n- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose\n- `bun run publish:pkg:canary` — bun publish:pkg --tag canary\n- `bun run clean` — rm -rf dist\n- `bun run test` — standalone host test: spawns `src/cli.ts` against a fixture profile with recording `prisma`/`database` stubs on PATH (fan-out, fail-fast, profile and usage errors)\n\n## Recent Updates\n\n- Replace eslint+prettier by biomejs to optimize speed.\n\n## Notes\n\n- Keep this as a thin orchestrator — business logic belongs in `cli-database`.\n- Do not change CLI argument signatures without updating docs and CI scripts.\n","sourcePath":"packages/apps/cli-databases/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/cli-databases/README.md","blobSha":"5e45c2eb19fcba42148fa2b5f21120f5c6e81a9b","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"tooling-and-agent-delivery","areaTitle":"CLI, authoring and agent tooling","displayName":"app.cli-databases","runtimes":["node"],"platforms":["server"],"kind":"app","scope":"Package manifest","canonicalRoute":"/docs/packages/app.cli-databases/","contextUrl":"/docs/packages/app.cli-databases.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}