mirror of
https://github.com/googleworkspace/cli.git
synced 2026-09-14 16:47:13 +08:00
adbca874ab
* fix: handle array-of-arrays in CSV formatter The CSV formatter assumed all items were JSON objects when collecting column names. APIs that return arrays of arrays (e.g. Sheets values) produced empty newlines instead of data. Add an early return path for non-object arrays that emits each inner array's elements as CSV cells directly, mirroring the table formatter's existing "array of non-objects" handling. Fixes #283 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: add coverage for flat scalar CSV formatting --------- Co-authored-by: Dan Rassi <129646+drassi@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>