cdx-chores 0.0.7 → 0.0.8-canary.2
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 +33 -2
- package/dist/cjs/index.cjs +752 -97
- package/dist/esm/bin.mjs +747 -97
- package/dist/esm/bin.mjs.map +1 -1
- package/dist/esm/index.d.mts +10 -2
- package/dist/esm/index.mjs +749 -99
- package/package.json +15 -9
- package/dist/index.d.mts +0 -14
- package/dist/index.mjs +0 -787
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ Runtime requirement:
|
|
|
46
46
|
| Command group | Important subcommands | Purpose | Capability notes |
|
|
47
47
|
| ------------- | --------------------- | ------- | ---------------- |
|
|
48
48
|
| `doctor` | `doctor`, `doctor --json` | Inspect current tool and feature readiness | Run this first on a new machine or after environment changes |
|
|
49
|
-
| `data` | `json-to-csv`, `csv-to-json`, `preview`, `parquet preview`, `query`, `query codex`, `duckdb doctor`, `duckdb extension install` | Data conversion, preview, DuckDB-backed SQL query, and Codex SQL drafting | `
|
|
49
|
+
| `data` | `json-to-csv`, `json-to-tsv`, `csv-to-json`, `csv-to-tsv`, `tsv-to-csv`, `tsv-to-json`, `preview`, `parquet preview`, `query`, `query codex`, `duckdb doctor`, `duckdb extension install` | Data conversion, preview, DuckDB-backed SQL query, and Codex SQL drafting | lightweight `csv` / `tsv` / `json` preview and conversion stay on the in-memory PapaParse-backed path; `query` support depends on DuckDB runtime availability |
|
|
50
50
|
| `md` | `to-docx`, `frontmatter-to-json` | Markdown conversion and metadata extraction | `to-docx` requires `pandoc` |
|
|
51
51
|
| `rename` | `file`, `batch`, `cleanup`, `apply` | Safe rename previews, cleanup flows, and replayable apply runs | Codex analyzer routes are optional, not required for standard rename usage |
|
|
52
52
|
| `video` | `convert`, `resize`, `gif` | `ffmpeg`-backed video wrappers | Requires `ffmpeg` |
|
|
@@ -96,16 +96,47 @@ JSON to CSV:
|
|
|
96
96
|
cdx-chores data json-to-csv -i ./input.json -o ./output.csv
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
+
JSON to TSV:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
cdx-chores data json-to-tsv -i ./input.json -o ./output.tsv
|
|
103
|
+
```
|
|
104
|
+
|
|
99
105
|
CSV to JSON:
|
|
100
106
|
|
|
101
107
|
```bash
|
|
102
108
|
cdx-chores data csv-to-json -i ./input.csv -o ./output.json --pretty
|
|
103
109
|
```
|
|
104
110
|
|
|
105
|
-
|
|
111
|
+
CSV to TSV:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
cdx-chores data csv-to-tsv -i ./input.csv -o ./output.tsv
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
TSV to CSV:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
cdx-chores data tsv-to-csv -i ./input.tsv -o ./output.csv
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
TSV to JSON:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
cdx-chores data tsv-to-json -i ./input.tsv -o ./output.json --pretty
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Preview CSV, TSV, or JSON as a bounded table:
|
|
106
130
|
|
|
107
131
|
```bash
|
|
108
132
|
cdx-chores data preview ./input.csv --rows 20
|
|
133
|
+
cdx-chores data preview ./input.tsv --rows 20
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Interactive lightweight conversion groups these formats under:
|
|
137
|
+
|
|
138
|
+
```text
|
|
139
|
+
data -> convert
|
|
109
140
|
```
|
|
110
141
|
|
|
111
142
|
Preview Parquet through DuckDB:
|