@wafflebase/cli 0.6.2 → 0.6.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/README.md +9 -2
- package/dist/bin.js +6961 -6439
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -53,7 +53,10 @@ wafflebase
|
|
|
53
53
|
│ └── import <file> --replace <id> --yes for in-place
|
|
54
54
|
│
|
|
55
55
|
├── sheets (aliases: sheet, spreadsheet, spreadsheets)
|
|
56
|
-
│ ├── tabs (alias: tab)
|
|
56
|
+
│ ├── tabs (alias: tab)
|
|
57
|
+
│ │ ├── list <doc-id>
|
|
58
|
+
│ │ ├── create <doc-id> [name] --type sheet
|
|
59
|
+
│ │ └── rename <doc-id> <tab-id> <name>
|
|
57
60
|
│ ├── cells (alias: cell)
|
|
58
61
|
│ │ ├── get <doc-id> [<range>]
|
|
59
62
|
│ │ ├── set <doc-id> <ref> <value> --formula
|
|
@@ -71,7 +74,9 @@ wafflebase
|
|
|
71
74
|
```
|
|
72
75
|
|
|
73
76
|
**Global flags**: `--server`, `--api-key`, `--workspace`, `--profile`,
|
|
74
|
-
`--format json|table|csv` (default `json`), `--quiet
|
|
77
|
+
`--format json|table|csv|yaml` (default `json`), `--quiet` (suppresses
|
|
78
|
+
progress notices only — the result body and the JSON error envelope are
|
|
79
|
+
always emitted), `--verbose`,
|
|
75
80
|
`--dry-run`. The `--format` flag also doubles as the per-content shape
|
|
76
81
|
on `docs content` (`json|md|text`) and the export type override on
|
|
77
82
|
`docs export` (`pdf|docx`).
|
|
@@ -84,6 +89,8 @@ wafflebase docs list
|
|
|
84
89
|
wafflebase docs create "Q1 Notes" --type doc
|
|
85
90
|
|
|
86
91
|
# Spreadsheets
|
|
92
|
+
wafflebase sheets tabs create abc-123 "History"
|
|
93
|
+
wafflebase sheets tabs rename abc-123 tab-1 "Summary"
|
|
87
94
|
wafflebase sheets cells get abc-123 A1:D100
|
|
88
95
|
echo '{"A1":"Name","B1":"Score"}' | wafflebase sheets cells batch abc-123
|
|
89
96
|
wafflebase sheets export abc-123 out.csv
|