@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 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