@wafflebase/cli 0.6.8 → 0.6.10
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 +15 -0
- package/dist/bin.js +22920 -21313
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -74,6 +74,8 @@ wafflebase
|
|
|
74
74
|
│ ├── create <title> [--type doc|sheet]
|
|
75
75
|
│ ├── get <doc-id>
|
|
76
76
|
│ ├── rename <doc-id> <title>
|
|
77
|
+
│ ├── copy <doc-id> → "<title> (copy)" (any type)
|
|
78
|
+
│ ├── move <doc-id> [folder-id] Omit the folder for the root
|
|
77
79
|
│ ├── delete <doc-id>
|
|
78
80
|
│ ├── content <doc-id> --format json|md|text + --pages
|
|
79
81
|
│ ├── export <doc-id> <file> --format pdf|docx + --pages (PDF)
|
|
@@ -113,6 +115,13 @@ wafflebase
|
|
|
113
115
|
│ ├── get <image-id> [out] --force to overwrite
|
|
114
116
|
│ └── delete <image-id>
|
|
115
117
|
│
|
|
118
|
+
├── folders (alias: folder) Workspace folder tree
|
|
119
|
+
│ ├── list Flat; parentId builds the tree
|
|
120
|
+
│ ├── create <name> --parent <id>, else the root
|
|
121
|
+
│ ├── rename <folder-id> <name>
|
|
122
|
+
│ ├── move <folder-id> [parent-id] Omit the parent for the root
|
|
123
|
+
│ └── delete <folder-id> Its documents go to the root
|
|
124
|
+
│
|
|
116
125
|
├── api-keys (alias: api-key)
|
|
117
126
|
│ ├── create <name>
|
|
118
127
|
│ ├── list
|
|
@@ -157,6 +166,12 @@ echo '{"axis":"row","index":2,"count":3}' | wafflebase sheets insert abc-123
|
|
|
157
166
|
wafflebase images upload logo.png
|
|
158
167
|
wafflebase images get img-42 logo.png --force
|
|
159
168
|
|
|
169
|
+
# Folders (organizational only — they carry no permissions)
|
|
170
|
+
wafflebase folders create "Q1 Reports"
|
|
171
|
+
wafflebase folders list
|
|
172
|
+
wafflebase docs move abc-123 fld-1 # file it; omit fld-1 for the root
|
|
173
|
+
wafflebase docs copy abc-123 # → "<title> (copy)"
|
|
174
|
+
|
|
160
175
|
# Word-processor docs
|
|
161
176
|
wafflebase docs content abc-123 --format md
|
|
162
177
|
wafflebase docs export abc-123 out.pdf --pages 1-3
|