@bendyline/docblocks-cli 2.1.0 → 2.1.1
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 +9 -4
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +7463 -0
- package/dist/index.d.ts +132 -1
- package/dist/index.js +460 -6324
- package/package.json +22 -9
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -66,13 +66,18 @@ docblocks mcp --allow-read ./documents --allow-write ./exports
|
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
`convert` and `video` accept Markdown, Squisq JSON Doc, DBK/ZIP, folders, and
|
|
69
|
-
import-capable linked-registry formats.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
import-capable linked-registry formats. `build` replaces generated HTML files;
|
|
70
|
+
`convert` and `video` refuse existing destinations unless `--allow-overwrite` is
|
|
71
|
+
passed. Multi-target conversion stages the complete batch and rolls back replacements
|
|
72
|
+
if publication fails. Build traversal, input bytes, and output bytes are bounded, as
|
|
73
|
+
are parse input and JSON output. MCP conversions instead return
|
|
73
74
|
immutable session artifacts; only explicit `save_artifact` materializes one, using
|
|
74
75
|
no-replace or hash-conditional replacement semantics.
|
|
75
76
|
|
|
77
|
+
The package root is a side-effect-free programmatic API for `runBuild`, `runConvert`,
|
|
78
|
+
`runVideo`, and `runParse`. Importing it never starts Commander; the executable is
|
|
79
|
+
the separate `docblocks` bin entry.
|
|
80
|
+
|
|
76
81
|
The live linked registry currently covers Markdown, DOCX, PDF, PPTX, XLSX, CSV,
|
|
77
82
|
HTML, HTML ZIP, EPUB, DBK, MP4, and GIF. Direction varies by format, so use the
|
|
78
83
|
CLI reference or MCP `list_formats` rather than assuming every format imports.
|
package/dist/bin.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|