@athrio/loom 0.0.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 +28 -0
- package/dist/LoomServer-3C83kvX5.js +13812 -0
- package/dist/LoomServer-3C83kvX5.js.map +1 -0
- package/dist/LoomStore-DPhVqYEz.js +150493 -0
- package/dist/LoomStore-DPhVqYEz.js.map +1 -0
- package/dist/main-BQJiwrlj.js +11957 -0
- package/dist/main-BQJiwrlj.js.map +1 -0
- package/dist/main.js +10412 -0
- package/dist/main.js.map +1 -0
- package/dist/rolldown-runtime-yvBN9yY6.js +47 -0
- package/dist/volar-service-markdown-ZE1pdvJT.js +26933 -0
- package/dist/volar-service-markdown-ZE1pdvJT.js.map +1 -0
- package/package.json +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @athrio/loom-cli
|
|
2
|
+
|
|
3
|
+
The command-line interface for [Loom](https://github.com/athrio-com/loom), a
|
|
4
|
+
literate-programming framework built on Effect-TS. A `.loom` document weaves
|
|
5
|
+
prose and code in narrative order; `loom tangle` composes the code sections into
|
|
6
|
+
real source files on disk.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
npm install -g @athrio/loom-cli
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
loom tangle path/to/doc.loom # tangle one document
|
|
18
|
+
loom tangle path/to/dir # tangle every .loom under a directory, recursively
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
A document declares its outputs with `{path}` section specifiers. `loom tangle`
|
|
22
|
+
builds the corpus reachable from each document, resolves the anchors and Warps
|
|
23
|
+
across files, and writes every `{path}` target relative to the document that
|
|
24
|
+
declares it.
|
|
25
|
+
|
|
26
|
+
## License
|
|
27
|
+
|
|
28
|
+
Apache-2.0 OR MIT
|