@wafflebase/cli 0.6.11 → 0.6.12

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.
Files changed (3) hide show
  1. package/README.md +14 -0
  2. package/dist/bin.js +18100 -17700
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -127,6 +127,12 @@ wafflebase
127
127
  │ ├── list
128
128
  │ └── revoke <key-id>
129
129
  │
130
+ ├── templates (alias: template) The gallery (publish/use: `login`)
131
+ │ ├── list --scope workspace|public, facets
132
+ │ ├── publish <doc-id> --title/--description/--category/
133
+ │ │ --tag (repeatable)/--visibility
134
+ │ └── use <template-id> --into <workspace>
135
+ │
130
136
  └── schema [<command>] Discover parameters/safety
131
137
  ```
132
138
 
@@ -179,6 +185,14 @@ wafflebase docs import draft.docx --title "Final Draft"
179
185
  wafflebase docs import revision.docx --replace abc-123 --yes
180
186
  wafflebase docs content abc-123 | wafflebase docs set-content abc-123
181
187
 
188
+ # Templates. publish/use need `login` (an API key is refused, as for api-keys);
189
+ # `list --scope public` answers an unauthenticated caller too.
190
+ wafflebase templates list # the workspace's gallery
191
+ wafflebase templates list --scope public --query budget
192
+ wafflebase templates publish abc-123 --title "Weekly Report" \
193
+ --category Business --tag weekly --visibility workspace
194
+ wafflebase templates use tpl-1 --into other-workspace
195
+
182
196
  # Schema introspection (singular aliases resolve too)
183
197
  wafflebase schema docs.content
184
198
  wafflebase schema cell.get # → sheets.cells.get