@wafflebase/cli 0.6.11 → 0.6.13
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 +19 -0
- package/dist/bin.js +18116 -17701
- package/package.json +5 -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
|
|
@@ -238,6 +252,11 @@ the YAML frontmatter for safety + tool list, and `wafflebase schema
|
|
|
238
252
|
<command>` for parameter shapes. See [`skills/SKILL.md`](skills/SKILL.md)
|
|
239
253
|
for the index.
|
|
240
254
|
|
|
255
|
+
The [Claude Code plugin](../../plugins/wafflebase/README.md) carries
|
|
256
|
+
copies of these files as references. After changing a skill, a command,
|
|
257
|
+
or the package version, run `pnpm cli build:plugin`; `pnpm cli test`
|
|
258
|
+
fails until the copies match.
|
|
259
|
+
|
|
241
260
|
## Design
|
|
242
261
|
|
|
243
262
|
Full design in [`/docs/design/rest-api.md`](../../docs/design/rest-api.md)
|