@prisma/cli-engine 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/{engine-CPLGpHh5.js → engine-DaES-DtJ.js} +820 -190
- package/dist/index.d.ts +19 -7
- package/dist/index.js +7 -6
- package/dist/{report-DR2h7YIG.d.ts → report-CCIboNYr.d.ts} +124 -28
- package/dist/testing.d.ts +11 -2
- package/dist/testing.js +11 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The execution engine of the unified Prisma CLI: it owns the path from argv to exit code — parsing, execution, rendering, and error handling.
|
|
4
4
|
|
|
5
|
+
Every command describes its output once, as blocks, and the engine renders it in one of three formats chosen by `--format`: `human` for a person at a terminal (padded, aligned, coloured, on stderr, with the machine-usable data lines on stdout), `json` for a program (a stream of frames ending in a result envelope on stdout), and `markdown` for an agent that reads the output as text (plain Markdown with every value labelled, everything on stdout, nothing on stderr). A terminal gets `human` and a pipe gets `json` unless a format is named; `markdown` is only ever explicit.
|
|
6
|
+
|
|
5
7
|
## Entry points
|
|
6
8
|
|
|
7
9
|
- `@prisma/cli-engine` — the engine: command definitions, context, and the runner.
|