contentbit 0.2.0 → 0.3.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 +7 -1
- package/dist/bin.js +766 -43
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +55 -9
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +47 -7
- package/dist/commands/links.d.ts +3 -0
- package/dist/commands/links.d.ts.map +1 -0
- package/dist/commands/links.js +97 -0
- package/dist/commands/render.d.ts.map +1 -1
- package/dist/commands/render.js +2 -2
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +20 -1
- package/dist/link-options.d.ts +10 -0
- package/dist/link-options.d.ts.map +1 -0
- package/dist/link-options.js +31 -0
- package/dist/links-io.d.ts +3 -0
- package/dist/links-io.d.ts.map +1 -0
- package/dist/links-io.js +14 -0
- package/dist/run.d.ts +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +766 -43
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# contentbit
|
|
2
2
|
|
|
3
|
-
CLI for [Content Blocks](https://contentbit.dev): validate documents,
|
|
3
|
+
CLI for [Content Blocks](https://contentbit.dev): validate documents, build
|
|
4
|
+
internal-link indexes, render content, and generate LLM authoring instructions
|
|
5
|
+
from your registry.
|
|
4
6
|
|
|
5
7
|
```bash
|
|
6
8
|
# scaffold Content Blocks into any project: deps, starter content,
|
|
@@ -14,6 +16,10 @@ contentbit validate "content/**/*.md"
|
|
|
14
16
|
# block census, links, validation summary — quick context for LLMs
|
|
15
17
|
contentbit stats article.md
|
|
16
18
|
|
|
19
|
+
# internal-link graph from frontmatter slugs, aliases, and linksTo
|
|
20
|
+
contentbit links "content/**/*.md"
|
|
21
|
+
contentbit links "content/**/*.md" --fix
|
|
22
|
+
|
|
17
23
|
# compact LLM context generated from the registry
|
|
18
24
|
contentbit instructions --audience llm --out guide.md
|
|
19
25
|
|