@creator-notes/cnotes 0.100.3 → 0.100.4
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/package.json
CHANGED
|
@@ -89,13 +89,17 @@ A good leaf goal: `Decide which phone-section bugs ship in the next PR. Done whe
|
|
|
89
89
|
when a goal fits one board and one Done when a person could check in a minute.
|
|
90
90
|
Reuse existing boards: a canvas whose goal already has a Done when is a leaf
|
|
91
91
|
waiting to be adopted.
|
|
92
|
-
4. **Create the goals** in one batch, children cross-linked
|
|
93
|
-
placeholders
|
|
92
|
+
4. **Create the goals** in one batch, inside the run, children cross-linked
|
|
93
|
+
with `@key` placeholders so every `depends-on` resolves in one transaction.
|
|
94
|
+
`--notes` takes the JSON itself, not a path, so read a file in with `$(cat …)`:
|
|
94
95
|
|
|
95
96
|
```bash
|
|
96
|
-
cnotes notes create --notes
|
|
97
|
+
cnotes notes create --notes "$(cat goals.json)" --json
|
|
97
98
|
```
|
|
98
99
|
|
|
100
|
+
Each item is `{"key", "type": "Goal", "markdown"}`; a parent's markdown
|
|
101
|
+
lists its children as `[@child-key: Title](relationship:depends-on)`.
|
|
102
|
+
|
|
99
103
|
5. **Give every leaf its board.** For an existing canvas, put the Goal note on it
|
|
100
104
|
(`cnotes canvas place`) and set the canvas goal to the identical two sentences:
|
|
101
105
|
`cnotes canvas update CANVAS-12 --goal "<the leaf's two sentences>"`. For a new
|